forked from panique/huge
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
27 lines (22 loc) · 859 Bytes
/
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
<?php
/**
* A simple, clean and secure PHP Login Script embedded into a small framework.
* Also available in other versions: one-file, minimal, advanced. See php-login.net for more info.
*
* MVC FRAMEWORK VERSION
*
* @author Panique
* @link http://www.php-login.net/
* @link https://github.com/panique/php-login/
* @license http://opensource.org/licenses/MIT MIT License
*/
// Load application config (error reporting, database credentials etc.)
require 'application/config/config.php';
// The auto-loader to load the php-login related internal stuff automatically
require 'application/config/autoload.php';
// The Composer auto-loader (official way to load Composer contents) to load external stuff automatically
if (file_exists('vendor/autoload.php')) {
require 'vendor/autoload.php';
}
// Start our application
$app = new Application();