wstep01 1 index


~/tmp/zrzuty/wstep01/index.php.html  1 <?php  2 // Define path to application directory  3 defined('APPLICATION_PATH')  4     || define('APPLICATION_PATH', realpath(dirname(__FILE__) . '/../application'));  5 // Define application environment  6 defined('APPLICATION_ENV')  7     || define('APPLICATION_ENV', (getenv('APPLICATION_ENV') ? getenv('APPLICATION_ENV') : 'production'));  8  9 // Ensure library/ is on include_path 10 set_include_path(implode(PATH_SEPARATOR, array( 11     realpath(APPLICATION_PATH . '/../library'), 12     get_include_path(), 13 ))); 14 15 /** Zend_Application */ 16 require_once 'Zend/Application.php'; 17 18 // Create application, bootstrap, and run 19 $application = new Zend_Application( 20     APPLICATION_ENV, 21     APPLICATION_PATH . '/configs/application.ini' 22 ); 23 24 Zend_Controller_Front::getInstance()->setBaseUrl("/~danusia/wstep01/public"); 25 $application->bootstrap() 26             ->run();

Wyszukiwarka

Podobne podstrony:
wstep00 index phtml
wstep01 index phtml
wstep00 index
index
index
index
index
index
index
index
index

więcej podobnych podstron