1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-29 10:38:08 +01:00

thumb - basic admin area detection

This commit is contained in:
secretr 2011-01-03 13:02:43 +00:00
parent ca8b648818
commit c345daea83

View File

@ -111,6 +111,9 @@ class e_thumbpage
$e107->set_urls(false);
unset($tmp, $self);
// basic Admin area detection - required for proper path parsing
define('ADMIN', strpos(e_SELF, ($e107->getFolder('admin')) !== false || strpos(e_PAGE, 'admin') !== false));
// parse request
$this->parseRequest();
}