]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - install/index.php
oops, restore @tcitworld commit. I'm so tired
[github/wallabag/wallabag.git] / install / index.php
index 35c21fbe7fce18812bb46b8dd0f0f59a0d6cec7a..e63b24239bab2a7c640d6f63fbd040368d2c39aa 100644 (file)
@@ -16,15 +16,15 @@ function delTree($dir) {
   }
 
 if (isset($_GET['clean'])) {
-       if (is_dir('install')){
-       delTree('install');
-       header('Location: index.php');      
-       }
+    if (is_dir('install')){
+    delTree('install');
+    header('Location: index.php');      
+    }
 }
 
 if (isset($_POST['download'])) {
     if (!file_put_contents("cache/vendor.zip", fopen("http://static.wallabag.org/files/vendor.zip", 'r'))) {
-        $errors[] = 'Impossible to download vendor.zip. Please <a href="http://wllbg.org/vendor">download it manually<a> and unzip it in your wallabag folder.';
+        $errors[] = 'Impossible to download vendor.zip. Please <a href="http://wllbg.org/vendor">download it manually<∕a> and unzip it in your wallabag folder.';
     }
     else {
         if (extension_loaded('zip')) {
@@ -85,7 +85,7 @@ else if (isset($_POST['install'])) {
                 else {
                     $db_path = 'sqlite:' . realpath('') . '/db/poche.sqlite';
                     $handle = new PDO($db_path);
-                                       $sql_structure = "";
+                    $sql_structure = "";
                 }
             }
             else {
@@ -165,7 +165,7 @@ else if (isset($_POST['install'])) {
         <!--[if IE]>
         <meta http-equiv="X-UA-Compatible" content="IE=10">
         <![endif]-->
-        <title>wallabag  installation</title>
+        <title>wallabag â€” installation</title>
         <link rel="shortcut icon" type="image/x-icon" href="themes/baggy/img/favicon.ico" />
         <link rel="apple-touch-icon-precomposed" sizes="144x144" href="themes/baggy/img/apple-touch-icon-144x144-precomposed.png">
         <link rel="apple-touch-icon-precomposed" sizes="72x72" href="themes/baggy/img/apple-touch-icon-72x72-precomposed.png">