shortening the code

git-svn-id: http://piwigo.org/svn/trunk@44 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
z0rglub
2003-07-27 08:23:32 +00:00
parent 8a1d713948
commit 4e775187b8
+1 -4
View File
@@ -28,9 +28,6 @@ $isadmin = false;
include_once( './language/'.$user['language'].'.php' );
// displaying the username in the language of the connected user, instead of
// "guest" as you can find in the database
if ( $user['is_the_guest'] )
{
$user['username'] = $lang['guest'];
}
if ( $user['is_the_guest'] ) $user['username'] = $lang['guest'];
include_once( './template/'.$user['template'].'/htmlfunctions.inc.php' );
?>