mirror of
https://github.com/e107inc/e107.git
synced 2025-07-23 07:52:07 +02:00
thumb - basic admin area detection
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
Reference in New Issue
Block a user