/**
  * @brief Shows the check dependencies screen
  */
 public static function showcheckdependencies()
 {
     $error = oc_setup::checkdependencies();
     if ($error == '') {
         $txt = 'All ownCloud dependencies found.<br />The file download and installtion to /var/www/owncloud takes a few minutes. Click Next and wait...';
         oc_setup::showcontent('Dependency check', $txt, 2);
     } else {
         $txt = 'Dependencies not found.<br />' . $error;
         oc_setup::showcontent('Dependency check', $txt);
     }
 }
Exemplo n.º 2
0
	/**
	* @brief Shows the check dependencies screen
	*/ 
	static public function showcheckdependencies(){
		$error=oc_setup::checkdependencies();
		if($error=='') {
			$txt='All ownCloud dependencies found';
			oc_setup::showcontent('Dependency check',$txt,2);
		}else{
			$txt='Dependencies not found.<br />'.$error;
			oc_setup::showcontent('Dependency check',$txt);
		}
	}