Adding support for module shared model. If a module admin exists and there is a file...
[akelos.git] / config / boot.php
blobcee00f33ac474e184cc1253ee49b14f36f35e7e2
1 <?php
3 /**
4 * This file and the lib/constants.php file perform most part of Akelos
5 * environment guessing.
6 *
7 * You can retrieve a list of current settings by running Ak::get_constants();
9 * If you're running a high load site you might want to fine tune this options
10 * according to your environment. If you set the options implicitly you might
11 * gain in performance but loose in flexibility when moving to a different
12 * environment.
14 * If you need to customize the framework default settings or specify
15 * internationalization options, edit the files at config/environments/*
18 defined('DS') ? null : define('DS', DIRECTORY_SEPARATOR);
19 defined('AK_BASE_DIR') ? null : define('AK_BASE_DIR', str_replace(DS.'config'.DS.'boot.php','',__FILE__));
20 defined('AK_FRAMEWORK_DIR') ? null : define('AK_FRAMEWORK_DIR', AK_BASE_DIR);
21 defined('AK_LIB_DIR') ? null : define('AK_LIB_DIR',AK_FRAMEWORK_DIR.DS.'lib');
23 require_once(AK_LIB_DIR.DS.'constants.php');