File indexing completed on 2024-04-14 15:55:10

0001 <?php
0002 
0003 // Define path to application directory
0004 defined('APPLICATION_PATH')
0005     || define('APPLICATION_PATH', realpath(dirname(__FILE__) . '/../application'));
0006 
0007 // Define application environment
0008 defined('APPLICATION_ENV')
0009     || define('APPLICATION_ENV', (getenv('APPLICATION_ENV') ? getenv('APPLICATION_ENV') : 'testing'));
0010 
0011 // Ensure library/ is on include_path
0012 set_include_path(implode(PATH_SEPARATOR, array(
0013     realpath(APPLICATION_PATH . '/../library'),
0014     get_include_path(),
0015 )));
0016 
0017 require_once 'Zend/Loader/Autoloader.php';
0018 Zend_Loader_Autoloader::getInstance();