merge COMPILE_ELS into SPEED_HAX

This commit is contained in:
Shish 2020-01-27 19:48:20 +00:00
parent 88afc12c13
commit 87d1e21679
2 changed files with 2 additions and 3 deletions

View file

@ -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);
}
}

View file

@ -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);