// Try and manually load it - DIRECTORY_SEPARATOR checks if running windows if(DIRECTORY_SEPARATOR == '\\') { @dl('php_eaccelerator.dll'); } else { @dl('eaccelerator.so'); } // Check again to see if we've been able to load it if(!extension_loaded("Eaccelerator") && !$silent) { // Throw our super awesome cache loading error die("eAccelerator needs to be configured with PHP to use the eAccelerator cache support"); $mybb->trigger_generic_error("sql_load_error"); }
| // Throw our super awesome cache loading error die("eAccelerator needs to be configured with PHP to use the eAccelerator cache support"); $mybb->trigger_generic_error("sql_load_error");
|