removing AO in sysgeneric

This commit is contained in:
Erik Amaru Ortiz
2014-02-11 17:55:02 -04:00
parent ea1f82ed3e
commit bc1b0f5101

View File

@@ -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' )) {