*/ increase_memory_limit_to('64M'); /////////////////////////////////////////////////////////////////////////////// // INCLUDES require_once "core/ManifestBuilder.php"; require_once "core/ClassInfo.php"; require_once 'core/Object.php'; require_once 'core/control/Director.php'; require_once 'filesystem/Filesystem.php'; require_once "core/Session.php"; /////////////////////////////////////////////////////////////////////////////// // MANIFEST /** * Include the manifest */ ManifestBuilder::include_manifest(); /** * ?debugmanifest=1 hook */ if (isset($_GET['debugmanifest'])) { Debug::show(file_get_contents(MANIFEST_FILE)); } // If this is a dev site, enable php error reporting // This is necessary to force developers to acknowledge and fix // notice level errors (you can override this directive in your _config.php) if (Director::isLive()) { if (defined('E_DEPRECATED')) { error_reporting(E_ALL ^ E_NOTICE ^ E_DEPRECATED); } else { error_reporting(E_ALL ^ E_NOTICE); }