2016-07-28, 01:44:53
(2016-07-28, 01:25:19)Bigin Wrote: hmmm yes, a shame, I forgot to check that file after the last update. It's been added to my todo list. thx!
What i made :
in php/index.php
replace
Code:
require_once('../../../../../admin/inc/common.php');
by
Code:
# Check and load gsconfig
if (file_exists('../../../../../gsconfig.php')) {
require_once '../../../../../gsconfig.php';
}
# Apply GSADMIN env
if (defined('GSADMIN')) {
$GSADMIN = GSADMIN;
} else {
$GSADMIN = 'admin';
}
require_once '../../../../../' . GSADMIN . '/inc/common.php';