+function log_only2($sess, $log) {
+ if (BRISK_DEBUG != TRUE)
+ return;
+
+
+ if (($fp = @fopen("/tmp/brisk_only2.log", 'a')) != FALSE) {
+ fwrite($fp, sprintf("SESS: [%s] [%s]\n", $sess, $log));
+ fclose($fp);
+ }
+}
+
+function log_only($sess, $log) {
+ if (BRISK_DEBUG != TRUE)
+ return;
+
+
+ if (($fp = @fopen("/tmp/brisk_only.log", 'a')) != FALSE) {
+ fwrite($fp, sprintf("SESS: [%s] [%s]\n", $sess, $log));
+ fclose($fp);
+ }
+}
+