remove debug information
This commit is contained in:
parent
a1a4c1ec7f
commit
8d1bda2304
1 changed files with 0 additions and 2 deletions
|
@ -95,9 +95,7 @@ function write_pass_hash_to_db($pass_hash, $uid){
|
|||
*/
|
||||
function writeLog($text){
|
||||
if(defined('WRITE_LOG') && defined('WRITE_LOG_PATH')){
|
||||
echo WRITE_LOG_PATH;
|
||||
$logdestination = realpath(WRITE_LOG_PATH).DIRECTORY_SEPARATOR."log";
|
||||
echo $logdestination;
|
||||
if(is_writable(WRITE_LOG_PATH)){
|
||||
$logfile = fopen($logdestination, "a") or die("Unable to create or open logfile \"$logdestination\" in root directory!");
|
||||
fwrite($logfile, $text."\n");
|
||||
|
|
Loading…
Add table
Reference in a new issue