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:
parent
ca8b648818
commit
c345daea83
@ -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();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user