add log to User::load_data function
authorMatteo Nastasi (mop) <nastasi@alternativeoutput.it>
Sun, 20 Mar 2011 16:40:17 +0000 (17:40 +0100)
committerMatteo Nastasi (mop) <nastasi@alternativeoutput.it>
Sun, 20 Mar 2011 16:40:17 +0000 (17:40 +0100)
web/Obj/brisk.phh

index 3d99623..7460da5 100644 (file)
@@ -875,6 +875,8 @@ class User {
   {
     // error_log("User::load_data BEGIN", 0);
 
+    log_main("load_data: id [".$id."] sess [".($sess == FALSE ? "FALSE" : $sess)."] ");
+
     $doexit = FALSE;
     do {
       if (($tok = @ftok(FTOK_PATH."/user".$id, "B")) == -1) {