removing AO in sysgeneric
This commit is contained in:
@@ -885,18 +885,18 @@ try {
|
||||
$RBAC->sSystem = 'PROCESSMAKER';
|
||||
|
||||
|
||||
if (\System::isDebugMode()) {
|
||||
$applicationAspectKernel = \Kernel\ApplicationAspectKernel::getInstance();
|
||||
$applicationAspectKernel->init(array(
|
||||
'debug' => true, // Use 'false' for production mode
|
||||
// Cache directory
|
||||
'cacheDir' => sys_get_temp_dir() . DIRECTORY_SEPARATOR, // Adjust this path if needed
|
||||
// Include paths restricts the directories where aspects should be applied, or empty for all source files
|
||||
'includePaths' => array(
|
||||
PATH_HOME . 'engine/src/'
|
||||
)
|
||||
));
|
||||
}
|
||||
// if (\System::isDebugMode()) {
|
||||
// $applicationAspectKernel = \Kernel\ApplicationAspectKernel::getInstance();
|
||||
// $applicationAspectKernel->init(array(
|
||||
// 'debug' => true, // Use 'false' for production mode
|
||||
// // Cache directory
|
||||
// 'cacheDir' => sys_get_temp_dir() . DIRECTORY_SEPARATOR, // Adjust this path if needed
|
||||
// // Include paths restricts the directories where aspects should be applied, or empty for all source files
|
||||
// 'includePaths' => array(
|
||||
// PATH_HOME . 'engine/src/'
|
||||
// )
|
||||
// ));
|
||||
// }
|
||||
|
||||
// define and send Headers for all pages
|
||||
if (! defined( 'EXECUTE_BY_CRON' )) {
|
||||
|
||||
Reference in New Issue
Block a user