Show
Ignore:
Timestamp:
02/24/2008 09:34:30 AM (11 months ago)
Author:
Geert
Message:
  • Modified Kohana::debug() to also show the variable type because print_r() alone will for example output "1" in case of a boolean or completely nothing in case of a NULL value.
  • Other small cleanups
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/modules/auth/controllers/auth.php

    r2093 r2159  
    7979                                if ($this->auth->login($user, $form->password->value)) 
    8080                                { 
    81                                         echo "<h4>Login Success!</h4>"; 
    82                                         echo "<p>Your roles are:</p>"; 
     81                                        echo '<h4>Login Success!</h4>'; 
     82                                        echo '<p>Your roles are:</p>'; 
    8383                                        echo Kohana::debug($user->roles); 
    8484                                        return;