merge COMPILE_ELS into SPEED_HAX
This commit is contained in:
parent
88afc12c13
commit
87d1e21679
2 changed files with 2 additions and 3 deletions
|
@ -12,12 +12,12 @@ function _load_event_listeners(): void
|
|||
global $_shm_event_listeners;
|
||||
|
||||
$cache_path = data_path("cache/shm_event_listeners.php");
|
||||
if (COMPILE_ELS && file_exists($cache_path)) {
|
||||
if (SPEED_HAX && file_exists($cache_path)) {
|
||||
require_once($cache_path);
|
||||
} else {
|
||||
_set_event_listeners();
|
||||
|
||||
if (COMPILE_ELS) {
|
||||
if (SPEED_HAX) {
|
||||
_dump_event_listeners($_shm_event_listeners, $cache_path);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -10,7 +10,6 @@ define("COVERAGE", false);
|
|||
define("CACHE_HTTP", false);
|
||||
define("COOKIE_PREFIX", 'shm');
|
||||
define("SPEED_HAX", false);
|
||||
define("COMPILE_ELS", false);
|
||||
define("NICE_URLS", false);
|
||||
define("SEARCH_ACCEL", false);
|
||||
define("WH_SPLITS", 1);
|
||||
|
|
Reference in a new issue