ownCloud');
// check if already configured. otherwise start configuration wizard
$error=OC_CONFIG::writeconfiglisener();
$CONFIG_ERROR=$error;
if(empty($CONFIG_ADMINLOGIN)) {
global $FIRSTRUN;
$FIRSTRUN=true;
echo('
');
echo('
');
OC_UTIL::showfooter();
exit();
}
// show the loginform if not loggedin
if(!isset($_SESSION['username']) or $_SESSION['username']=='') {
echo(''.$error.'
'); echo('First Run Wizard
'); OC_CONFIG::showconfigform(); echo('');
OC_UTIL::showloginform();
echo('
');
OC_UTIL::showfooter();
exit();
}else{
echo(' ');
echo('');
}
?>