-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.php
46 lines (36 loc) · 1.38 KB
/
index.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<?php
/**
* phpHyppo
*
* An open source MVC application framework for PHP 5.1+
*
* @package phpHyppo
* @author Muhammad Hamizi Jaminan <[email protected]>
* @copyright Copyright (c) 2008 - 2014, Green Apple Software.
* @license LGPL, see included license file
* @link http://www.phphyppo.org
* @since Version 8.02
*/
/* Uncomment this when you get blank page on development mode */
ini_set('display_errors', true);
/* PHP error reporting level, if different from server default */
error_reporting(E_ALL);
/* If you want set default timezone, uncomment and set here */
//date_default_timezone_set('Asia/Kuala_Lumpur');
/* if the /core/ directory is not inside the root directory, uncomment and set here */
//define('BASEDIR', '/path/to/phphyppo/');
/* if the /application/ directory is not inside the root directory, uncomment and set here */
//define('APPDIR', '/path/to/application/');
/* directory separator constant */
if ( ! defined('DS') )
define('DS', DIRECTORY_SEPARATOR);
/* set the default base directory constant */
if ( ! defined('BASEDIR') )
define('BASEDIR', dirname(__FILE__) . DS);
/* set the default application directory constant */
if ( ! defined('APPDIR') )
define('APPDIR', BASEDIR . 'application' . DS);
/* call the framework bootable engine */
require_once BASEDIR . 'core' . DS . 'bootstrap.php';
/* End of index.php */
/* Location: index.php */