Remove the logging to make way for a better logging. The older one caused a problem for someone without permission to write to /tmp/logfile.txt

This commit is contained in:
Mark Crane
2015-01-03 08:32:30 +00:00
parent 2d70541b87
commit 8f187eefe3
3 changed files with 5 additions and 9 deletions

View File

@@ -28,7 +28,6 @@ include "root.php";
require_once "resources/require.php";
require_once "resources/check_auth.php";
require_once "resources/paging.php";
require_once "resources/classes/logging.php";
require_once "resources/classes/orm.php";
if (permission_exists('dialplan_add')
|| permission_exists('dialplan_edit')
@@ -53,9 +52,6 @@ else {
$text[$key] = $value[$_SESSION['domain']['language']['code']];
}
//logger
$log = new Logging();
//set the action as an add or an update
if (isset($_REQUEST["id"])) {
$action = "update";

View File

@@ -42,10 +42,6 @@ else {
$text[$key] = $value[$_SESSION['domain']['language']['code']];
}
$log = new Logging();
$log->log("debug", "passed validation, line 45");
$log->log("debug", check_str($_POST["ivr_menu_uuid"]));
//function to show the list of sound files
// moved to functions.php

View File

@@ -84,4 +84,8 @@ class Logging
}
}
?>
//$log = new Logging();
//$log->log("debug", "passed validation, ".__line__);
//$log->log("debug", check_str($_POST["ivr_menu_uuid"]));
?>