[eluser]the1rob[/eluser]
Is there any known breakage with Auth library? In particular, benchmark?
I installed CI stock, then the Auth Lib 1.0.2. Just for the sake of testing Auth out, I extended the welcome controller.
err...changed it like so:
Code:
class Welcome extends Application
{
function Welcome()
{
parent::Application();
}
function index()
{
$this->load->view('welcome_message');
}
}
Then added this to the welcome_message.php view...
Code:
<p> <a href="http://www.examplesite.com/index.php/admin/login">Login</a></p>
<p> <a href="http://www.examplesite.com/index.php/admin/register">Register</a></p>
<p> You are currently
<?
if ($this->auth->logged_in())
{
echo "ARE ";
}
else
{
echo "ARE NOT ";
}
?>
logged in.</p>
<?php echo $this->benchmark->elapsed_time();?>
The Auth code works fine. But the last line doesn't work anymore. Just shows "{elapsed_time}" in the final html output.
Am I missing something? I've only been playing with CI for a few days now, so please be gentle if I missed something obvious. =)