Login   Register  
PHP Classes
elePHPant
Icontem

File: init.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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: 2009-04-02 04:39
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';