From 275c3cd3d4532aa927945a940bb9c5b8304ba365 Mon Sep 17 00:00:00 2001 From: TheTroll Date: Sat, 27 Mar 2010 19:46:30 +0100 Subject: Added debug mode --- bin/backend.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'bin/backend.php') diff --git a/bin/backend.php b/bin/backend.php index ad72df7..ca9917a 100755 --- a/bin/backend.php +++ b/bin/backend.php @@ -6,6 +6,7 @@ if (file_exists('../config.php')) include ('../config.php'); else include ('../config_default.php'); +include ('./debug.php'); include ('./auth.php'); include ('../getid3/getid3.php'); include ('./utils.php'); @@ -16,6 +17,9 @@ include ('./session.php'); include ('./jsonapi.php'); $action=$_REQUEST['action']; + +addlog("Executing action [" .$action ."]"); + switch ($action) { case ("getGlobals"): -- cgit v1.2.3