2013-01-24, 22:39:58
i18n_specialpages uses
to find out if GS is in the backend... it works, but this looks more like a bad hack than like the best solution.
May i suggest that the backend entry points define a GSBACKEND=true and the front end defines GSBACKEND=false?
ciao
a.l.e
PHP Code:
if (basename($_SERVER['PHP_SELF']) && basename($_SERVER['PHP_SELF']) != 'index.php') {
to find out if GS is in the backend... it works, but this looks more like a bad hack than like the best solution.
May i suggest that the backend entry points define a GSBACKEND=true and the front end defines GSBACKEND=false?
ciao
a.l.e