PHP Classes

File: init.php

Recommend this page to a friend!
  Classes of solomongaby   Zend_Bootstrap   init.php   Download  
File: init.php
Role: Configuration script
Content type: text/plain
Description: init file
Class: Zend_Bootstrap
Bootstrap class for use in Zend framework
Author: By
Last change:
Date: 15 years ago
Size: 513 bytes
 

Contents

Class file image Download
<?php

// Add /library and /application directory to our include path
$siteRootDir = dirname(__FILE__);
define('APPLICATION_PATH', $siteRootDir . '/application');
set_include_path(
APPLICATION_PATH . '/models' . PATH_SEPARATOR
. APPLICATION_PATH . '/modules/default/controllers' . PATH_SEPARATOR
. APPLICATION_PATH . '/controllers' . PATH_SEPARATOR
. APPLICATION_PATH . PATH_SEPARATOR
. $siteRootDir . '/library' . PATH_SEPARATOR
. get_include_path()
);

require
APPLICATION_PATH . '/bootstrap.php';