diff options
Diffstat (limited to 'engine/lib/sessions.php')
| -rw-r--r-- | engine/lib/sessions.php | 9 | 
1 files changed, 4 insertions, 5 deletions
diff --git a/engine/lib/sessions.php b/engine/lib/sessions.php index c302ed3cc..2995c1723 100644 --- a/engine/lib/sessions.php +++ b/engine/lib/sessions.php @@ -172,6 +172,10 @@  	        if ($_SESSION['id'] > 0) {
  	            // set_last_action($_SESSION['id']);
  	        }
 +	        
 +	        register_action("login",true);
 +    		register_action("logout");
 +	        
  		}
  	/**
 @@ -183,11 +187,6 @@  		}
  		register_event_handler("boot","system","session_init",1);
 -	
 -	//register actions *************************************************************
 -   
 -   		register_action("login",true);
 -    	register_action("logout");
  ?>
\ No newline at end of file  | 
