/**
  * @brief Shows the install screen
  */
 public static function showinstall()
 {
     $error = oc_setup::install();
     if ($error == '') {
         $txt = '<br />You must restart your Lighttpd-Server now!!!<br /><br />ownCloud is now installed.<br />You will find your ownCloud website here: http://Your_iOS_Device/owncloud<br /><br />You must restart your Lighttpd-Server now!!!<br />';
         oc_setup::showcontent('Success', $txt, 3);
     } else {
         $txt = 'ownCloud is NOT installed<br />' . $error;
         oc_setup::showcontent('Error', $txt);
     }
 }
示例#2
0
	/**
	* @brief Shows the install screen
	*/ 
	static public function showinstall(){
		$error=oc_setup::install();
	
		if($error=='') {
			$txt='ownCloud is now installed';
			oc_setup::showcontent('Success',$txt,3);
		}else{
			$txt='ownCloud is NOT installed<br />'.$error;
			oc_setup::showcontent('Error',$txt);
		}
	}