// Easyforge config, allow several instances of gforge based on server name.
if (getenv('sys_localinc')) {
$gfcgfile = getenv('sys_localinc');
- $gfconfig = dirname(GFCGFILE);
+ $gfconfig = @dirname(GFCGFILE);
} elseif (file_exists($IP.'/config/'.$_SERVER['SERVER_NAME'].'/local.inc.php')) {
$gfcgfile = $IP.'/config/'.$_SERVER['SERVER_NAME'].'/local.inc.php';
$gfconfig = $IP.'/config/'.$_SERVER['SERVER_NAME'];
$gfplugins = '';
}
-?>
\ No newline at end of file
+?>