2010-12-03, 08:37:34
(This post was last modified: 2010-12-03, 08:39:39 by bobythomas.)
Hello,
I suggest :
admin/inc/common.php :
instead of :
It avoids conflicts (resulting in Php notices - Constant already defined) with /index.php L14 already calling gsconfig.php.
I suggest :
admin/inc/common.php :
Code:
if (file_exists(GSROOTPATH . 'gsconfig.php')) {
require_once(GSROOTPATH . 'gsconfig.php');
}
instead of :
Code:
if (file_exists(GSROOTPATH . 'gsconfig.php')) {
include(GSROOTPATH . 'gsconfig.php');
}
It avoids conflicts (resulting in Php notices - Constant already defined) with /index.php L14 already calling gsconfig.php.