'); // check if already configured. otherwise start configuration wizard $error=OC_CONFIG::writeconfiglisener(); echo $error; if(empty($CONFIG_ADMINLOGIN)) { global $FIRSTRUN; $FIRSTRUN=true; echo('
'); echo('

'.$error.'

'); echo('

First Run Wizard

'); OC_CONFIG::showconfigform(); echo('
'); OC_UTIL::showfooter(); exit(); } // show the loginform if not loggedin if(!isset($_SESSION['username']) or $_SESSION['username']=='') { echo('
'); OC_UTIL::showloginform(); echo('
'); OC_UTIL::showfooter(); exit(); }else{ echo(''); } ?>