$result[$level][$file] = $list; } foreach ($result as $level => $files_list) { if (defined('USE_MENU_DETAILS')) { echo OBR . '(menu check) [' . $level . OBR; foreach ($files_list as $file => $menu_list) { echo '(menu check)' . SPACE . SPACE . SPACE . SPACE . $file . ' {' . implode(',', $menu_list) . '}' . OBR; } } else { echo OBR . '(menu check) [' . $level . '] = ' . count($files_list) . OBR; } } } } } COpt::set_memory_limit('32M'); COpt::profiling_start('script'); } else { $static = null; if (version_compare(phpversion(), '5.0', '>=')) { $static = 'static'; } eval(' class COpt { ' . $static . ' function profiling_start($type=NULL) {} ' . $static . ' function profiling_stop($type=NULL) {} ' . $static . ' function savesqlrequest($sql) {} ' . $static . ' function showmemoryusage($descr=null) {} ' . $static . ' function compare_files_with_menu($menu=null) {} ' . $static . ' function counter_up($type=NULL) {}
$result[$level][$file] = $list; } foreach ($result as $level => $files_list) { if (defined('USE_MENU_DETAILS')) { echo OBR . '(menu check) [' . $level . OBR; foreach ($files_list as $file => $menu_list) { echo '(menu check)' . SPACE . SPACE . SPACE . SPACE . $file . ' {' . implode(',', $menu_list) . '}' . OBR; } } else { echo OBR . '(menu check) [' . $level . '] = ' . count($files_list) . OBR; } } } } } COpt::set_memory_limit('256M'); COpt::profiling_start('script'); } else { $static = null; if (version_compare(phpversion(), '5.0', '>=')) { $static = 'static'; } eval(' class COpt { ' . $static . ' function profiling_start($type=NULL) {} ' . $static . ' function profiling_stop($type=NULL) {} ' . $static . ' function savesqlrequest($sql) {} ' . $static . ' function showmemoryusage($descr=null) {} ' . $static . ' function compare_files_with_menu($menu=null) {} ' . $static . ' function counter_up($type=NULL) {}