Revision 10
Added by Manuela about 7 years ago
initialize.php | ||
---|---|---|
316 | 316 |
if (!class_exists('\bin\CoreAutoloader')) { |
317 | 317 |
include __DIR__.'/CoreAutoloader.php'; |
318 | 318 |
} |
319 |
\bin\CoreAutoloader::doRegister(); |
|
319 |
\bin\CoreAutoloader::doRegister(['acp' => ADMIN_DIRECTORY]);
|
|
320 | 320 |
|
321 | 321 |
if (class_exists('database')) { |
322 | 322 |
// sanitize $_SERVER['HTTP_REFERER'] |
Also available in: Unified diff
CoreAutoloader::doRegister() regex creation fixed and made translations of namespaces more flexible
initialize:: set namespace translation of 'acp' to ADMIN_DIRECTORY