"); } ?>
'); // check if already configured. otherwise start configuration wizard $error=OC_CONFIG::writeconfiglisener(); if($e=OC_CONFIG::createuserlisener()){ $error=$e; } $CONFIG_ERROR=$error; global $CONFIG_INSTALLED; if(!$CONFIG_INSTALLED) { 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(''); echo('
'); } ?>