<?php
/* vim: set ts=4 tw=0 sw=4 noet: */
require_once $CFG->root .'config.php';
+require_once $CFG->root . 'lib/session_handler.inc.php';
class Utils {
$file = $CFG->root.'qtadmin.log';
}
file_put_contents($file, "[$time]: $message\n", FILE_APPEND | LOCK_EX);
+ chmod($file, 0600);
break;
case 'stderr':
file_put_contents('php://stderr', "[$time]: $message\n");