From 4e775187b8d054835b179ff136ccd5ad5393711f Mon Sep 17 00:00:00 2001 From: z0rglub Date: Sun, 27 Jul 2003 08:23:32 +0000 Subject: shortening the code git-svn-id: http://piwigo.org/svn/trunk@44 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/init.inc.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'include/init.inc.php') diff --git a/include/init.inc.php b/include/init.inc.php index 823695753..0a8765cf9 100644 --- a/include/init.inc.php +++ b/include/init.inc.php @@ -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' ); ?> \ No newline at end of file -- cgit v1.2.3