12345678910111213141516171819202122 |
- <?php
- $engine = dirname(dirname(dirname(__FILE__)));
- date_default_timezone_set('America/Los_Angeles');
- error_reporting(E_ALL | E_STRICT);
- /**
- * This is here as a temporary solution only. Instead of adding more global
- * state to this file as we migrate tests, try to refactor the code to be
- * testable without global state.
- */
- global $CONFIG;
- $CONFIG = (object) array(
- 'dbprefix' => 'elgg_',
- 'boot_complete' => false,
- 'wwwroot' => 'http://localhost/',
- 'site_guid' => 1,
- );
- require_once "$engine/load.php";
|