<?php// ---------------------------------- \\// @Zula Framework Index (collector)// @License: http://www.gnu.org/copyleft/gpl.html GNU/GPL 2// @Author: Alex Cartwright// @Created: 11th April 2007// ---------------------------------- \\ //--- // Set directory to main Application folder //--- define( '_PATH_APPLICATION', './application' ); echo 'hey! wtf is going on'; // Load and initialize Zula framework and registry require_once( _PATH_APPLICATION.'/zula/zula.php' ); require_once( _PATH_APPLICATION.'/zula/common.php' ); $zula = Zula::get_instance(); $tmp_registry = Registry::get_instance(); $zula->load_registry( $tmp_registry ); unset( $tmp_registry ); //--- // Default directories in Zula should be fine, though you can configure // them from here if you want, via $zula->update_dir(); EG: // $zula->update_dir( 'lib', '/libaries' ); //--- $zula->update_dir( 'controllers', _PATH_APPLICATION.'/modules' ); // Bootstrap require_once( Zula::get_dir( 'zula' ).'/bootstrap.php' );?>