diff --git a/core/send_event.php b/core/send_event.php index d212611d..dfd04bb2 100644 --- a/core/send_event.php +++ b/core/send_event.php @@ -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); } } diff --git a/tests/defines.php b/tests/defines.php index 42c89960..b314e8ba 100644 --- a/tests/defines.php +++ b/tests/defines.php @@ -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);