Update index.php
This commit is contained in:
parent
e3b6ceccc9
commit
d05d35c55e
|
@ -2,11 +2,11 @@
|
||||||
/**
|
/**
|
||||||
* @file index.php
|
* @file index.php
|
||||||
* @date 2018-05-27
|
* @date 2018-05-27
|
||||||
* @updated 2019-10-13
|
* @updated 2019-11-15
|
||||||
* @author Go Namhyeon <gnh1201@gmail.com>
|
* @author Go Namhyeon <gnh1201@gmail.com>
|
||||||
* @brief ReasonableFramework
|
* @brief ReasonableFramework
|
||||||
* @cvs https://github.com/gnh1201/reasonableframework
|
* @cvs https://github.com/gnh1201/reasonableframework
|
||||||
* @sponsor https://patreon.com/catswords (Check this link if you want use the advanced security)
|
* @sponsor https://patreon.com/catswords (with advanced security)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
define("_DEF_VSPF_", true); // compatible to VSPF
|
define("_DEF_VSPF_", true); // compatible to VSPF
|
||||||
|
@ -85,7 +85,7 @@ foreach($load_systems as $system_name) {
|
||||||
// get config
|
// get config
|
||||||
$config = get_config();
|
$config = get_config();
|
||||||
|
|
||||||
// set scopes
|
// set scopes (1.6 - Change calling convention for lagacy PHP)
|
||||||
set_scope("dbc", get_db_connect());
|
set_scope("dbc", get_db_connect());
|
||||||
set_scope("requests", read_requests());
|
set_scope("requests", read_requests());
|
||||||
|
|
||||||
|
@ -125,4 +125,3 @@ IF(PHP_DDOS_PROTECTION !== false) {
|
||||||
if(!loadRoute($route, $scope)) {
|
if(!loadRoute($route, $scope)) {
|
||||||
loadRoute("errors/404", $scope);
|
loadRoute("errors/404", $scope);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user