Is it possible to do a boolean check to see if the user is logged in or not, when writing a small php page using the extensability of SSI.php?
Thanks
But of course ;)
<?php
// Include the SSI file.
require(dirname(__FILE__) . '/SSI.php');
global $context;
if ($context['user']['is_logged'])
echo 'User is logged';
else
echo 'User is guest';
?>
Thank you, works great ;D