mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-06-05 09:23:40 -04:00
Tabs to spaces.
This commit is contained in:
parent
49403ed07c
commit
9b5f6f3cad
108 changed files with 6176 additions and 6168 deletions
|
@ -13,7 +13,7 @@ define("PASSHASH", "da39a3ee5e6b4b0d3255bfef95601890afd80709");
|
|||
|
||||
function normalized_require_once($lib) {
|
||||
|
||||
require_once(preg_replace("#[\\\\/]+#", "/", dirname(__FILE__) . "/inc/${lib}.php"));
|
||||
require_once(preg_replace("#[\\\\/]+#", "/", dirname(__FILE__) . "/inc/${lib}.php"));
|
||||
}
|
||||
|
||||
normalized_require_once("util");
|
||||
|
@ -28,9 +28,9 @@ setup();
|
|||
$app = new App();
|
||||
|
||||
if (has_request_param("action")) {
|
||||
$api = new Api($app);
|
||||
$api->apply();
|
||||
$api = new Api($app);
|
||||
$api->apply();
|
||||
} else {
|
||||
define("FALLBACK", $app->get_fallback());
|
||||
normalized_require_once("page");
|
||||
define("FALLBACK", $app->get_fallback());
|
||||
normalized_require_once("page");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue