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:
@@ -28,7 +28,6 @@ include "root.php";
|
|||||||
require_once "resources/require.php";
|
require_once "resources/require.php";
|
||||||
require_once "resources/check_auth.php";
|
require_once "resources/check_auth.php";
|
||||||
require_once "resources/paging.php";
|
require_once "resources/paging.php";
|
||||||
require_once "resources/classes/logging.php";
|
|
||||||
require_once "resources/classes/orm.php";
|
require_once "resources/classes/orm.php";
|
||||||
if (permission_exists('dialplan_add')
|
if (permission_exists('dialplan_add')
|
||||||
|| permission_exists('dialplan_edit')
|
|| permission_exists('dialplan_edit')
|
||||||
@@ -53,9 +52,6 @@ else {
|
|||||||
$text[$key] = $value[$_SESSION['domain']['language']['code']];
|
$text[$key] = $value[$_SESSION['domain']['language']['code']];
|
||||||
}
|
}
|
||||||
|
|
||||||
//logger
|
|
||||||
$log = new Logging();
|
|
||||||
|
|
||||||
//set the action as an add or an update
|
//set the action as an add or an update
|
||||||
if (isset($_REQUEST["id"])) {
|
if (isset($_REQUEST["id"])) {
|
||||||
$action = "update";
|
$action = "update";
|
||||||
|
|||||||
@@ -42,10 +42,6 @@ else {
|
|||||||
$text[$key] = $value[$_SESSION['domain']['language']['code']];
|
$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
|
//function to show the list of sound files
|
||||||
// moved to functions.php
|
// moved to functions.php
|
||||||
|
|
||||||
|
|||||||
@@ -84,4 +84,8 @@ class Logging
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
//$log = new Logging();
|
||||||
|
//$log->log("debug", "passed validation, ".__line__);
|
||||||
|
//$log->log("debug", check_str($_POST["ivr_menu_uuid"]));
|
||||||
|
|
||||||
|
?>
|
||||||
Reference in New Issue
Block a user