-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinit.php
More file actions
21 lines (19 loc) · 953 Bytes
/
init.php
File metadata and controls
21 lines (19 loc) · 953 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?php
//
// +----------------------------------------------------------------------+
// | init.php |
// +----------------------------------------------------------------------+
// | init script for setting PATH and loading classes |
// +----------------------------------------------------------------------+
// | Copyright (c) 2020 |
// +----------------------------------------------------------------------+
// | Authors: <emnosh.pro@gmail.com.au> |
// +----------------------------------------------------------------------+
//
namespace EM\DBAL;
if (!defined('BASE_PATH')) {
define('BASE_PATH', dirname(__FILE__));
define('CLASS_PATH', BASE_PATH . '/classes/');
require_once(CLASS_PATH . 'Loader.php');
\Loader::register(__NAMESPACE__);
}