All pastes #819941 Raw Edit

_mh

public php v1 · immutable
·published 2007-12-17 08:22 UTC
rendered paste body
/storage/www/vhosts/mh/loki/web/index.php: <?php/** * Testing */require_once("../config/app.conf.php");require_once("../launcher/launcher.func.php");/** * Initialize the application */bootLoader();?>/storage/www/vhosts/mh/loki/config/app.conf.php<?phperror_reporting(E_ALL|E_STRICT);date_default_timezone_set('Asia/Karachi');set_include_path(	'.' . PATH_SEPARATOR . './library/'	. PATH_SEPARATOR . '../zlibrary/'	. PATH_SEPARATOR . './application/default/models/'	. PATH_SEPARATOR . get_include_path());define ('APPBASE', '/storage/www/vhosts/mh/loki');define ('DOCROOT', APPBASE . '/web');?>/storage/www/vhosts/mh/loki/launcher/launcher.func.php<?php/** * the bootstrap function */function bootLoader(){	//echo "Initializing application, base is: " . APPBASE . "<br />";		$ctrl = Zend_Controller_Front::getInstance();	$ctrl->throwExceptions(true);		$ctrl->setControllerDirectory(		array(			'default' => '/application/default/controllers'		)	);	$view = new Zend_View();	$ctrl->setParam('view', $view);	$ctrl->dispatch();}function __autoload($class){	require_once("Zend/Loader.php");	Zend_Loader::loadClass($class);}?>/storage/www/vhosts/mh/loki/web/application/default/controllers/IndexController.php<?phpclass IndexController extends Zend_Controller_Action {	protected $_view = null;		public function init()	{		parent::init();			}		public function indexAction()	{		echo "hi";		}} ?>