Login   Register  
PHP Classes
elePHPant
Icontem

File: demos/hello-world/index.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Chara Miteo  >  ApPHP MVC Framework  >  demos/hello-world/index.php  >  Download  
File: demos/hello-world/index.php
Role: Example script
Content type: text/plain
Description: index.php
Class: ApPHP MVC Framework
Web application development MVC Framework
Author: By
Last change:
Date: 1 year ago
Size: 690 bytes
 

Contents

Class file image Download
<?php
/**
 * Public index file
 *
 * @project ApPHP Framework
 * @author ApPHP <info@apphp.com>
 * @link http://www.apphpframework.com/
 * @copyright Copyright (c) 2012 ApPHP
 * @license http://www.apphpframework.com/license/
 */      

// change the following paths if necessary
defined('APPHP_PATH') || define('APPHP_PATH'dirname(__FILE__));
// directory separator
defined('DS') || define('DS'DIRECTORY_SEPARATOR);
// production | debug | demo | test
defined('APPHP_MODE') or define('APPHP_MODE''production'); 


$apphp dirname(__FILE__).'/../../framework/Apphp.php';
$config APPHP_PATH.'/protected/config/';

require_once(
$apphp);
A::init($config)->run();