-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathindex.php
More file actions
27 lines (22 loc) · 646 Bytes
/
index.php
File metadata and controls
27 lines (22 loc) · 646 Bytes
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
<?php
/**
* Ness PHP Framework.
* A solid php framework for fast and secure web applications.
*
* @author Sinan SALIH
* @license MIT License
* @copyright Copyright (C) 2018-2019 Sinan SALIH
*/
/**
* Required for Composer to load libraries.
*/
$path = __DIR__.DIRECTORY_SEPARATOR.'vendor'.DIRECTORY_SEPARATOR.'autoload.php';
if (file_exists($path)) {
require $path;
} else {
require __DIR__.DIRECTORY_SEPARATOR.'Ness'.DIRECTORY_SEPARATOR.'System'.DIRECTORY_SEPARATOR.'autoload.php';
}
/**
* Start the framework.
*/
require __DIR__.DIRECTORY_SEPARATOR.'Ness'.DIRECTORY_SEPARATOR.'System'.DIRECTORY_SEPARATOR.'boot.php';