mirror of
https://github.com/e107inc/e107.git
synced 2025-07-25 17:01:43 +02:00
thumb - basic admin area detection
This commit is contained in:
@@ -111,6 +111,9 @@ class e_thumbpage
|
|||||||
$e107->set_urls(false);
|
$e107->set_urls(false);
|
||||||
unset($tmp, $self);
|
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
|
// parse request
|
||||||
$this->parseRequest();
|
$this->parseRequest();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user