Some comments.

This commit is contained in:
Lars Jung 2013-07-10 23:11:44 +02:00
parent 63115432ce
commit 5f27518852
2 changed files with 6 additions and 4 deletions

View file

@ -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;
}
*/
?>

View file

@ -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)) {