
Untitled
By: a guest on
Apr 23rd, 2012 | syntax:
None | size: 0.53 KB | hits: 8 | expires: Never
<?php
// Define path to application directory
defined('APPLICATION_PATH')
|| define('APPLICATION_PATH', realpath(dirname(__FILE__) . '/../application'));
// Configure the include path.
$zendFrameworkPath = realpath(APPLICATION_PATH . '/../../zf/1.11.6');
if ($zendFrameworkPath === false) {
throw new Exception('No Zend Framework found.');
}
// Ensure library/ is on include_path
set_include_path(implode(PATH_SEPARATOR, array(
realpath(APPLICATION_PATH . '/../library'),
$zendFrameworkPath,
get_include_path(),
)));