Some comments.
This commit is contained in:
parent
63115432ce
commit
5f27518852
2 changed files with 6 additions and 4 deletions
|
@ -77,6 +77,7 @@ function load_commented_json($file) {
|
|||
return json_decode($str, true);
|
||||
}
|
||||
|
||||
/* unused
|
||||
function merge_config($a, $b) {
|
||||
|
||||
$result = array_merge(array(), $a);
|
||||
|
@ -87,5 +88,6 @@ function merge_config($a, $b) {
|
|||
|
||||
return $result;
|
||||
}
|
||||
*/
|
||||
|
||||
?>
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
|
||||
|
||||
// bootstrap
|
||||
/* Bootstrap */
|
||||
|
||||
function normalize_path($path, $trailing_slash = false) {
|
||||
|
||||
|
@ -20,19 +20,19 @@ function normalized_require_once($lib) {
|
|||
}
|
||||
|
||||
|
||||
// load libs
|
||||
/* Load Libs */
|
||||
|
||||
normalized_require_once("/server/php/inc/util.php");
|
||||
normalized_require_once("/server/php/inc/App.php");
|
||||
normalized_require_once("/server/php/inc/Item.php");
|
||||
|
||||
|
||||
// init
|
||||
/* Init */
|
||||
|
||||
$app = new App(APP_ABS_PATH, APP_ABS_HREF, ABS_HREF);
|
||||
|
||||
|
||||
// run
|
||||
/* Run */
|
||||
|
||||
if (array_key_exists("action", $_REQUEST)) {
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue