]> git.mxchange.org Git - friendica.git/blobdiff - mod/install.php
tinymce: add filebrowser for photos and attached files
[friendica.git] / mod / install.php
index d1142248a3610c12d4db95f57b310b6011b4d7d9..6f5552076c9594ad015e5d4b5934eb7a46c34214 100644 (file)
@@ -380,9 +380,9 @@ function check_funcs(&$checks) {
        
        if(function_exists('apache_get_modules')){
                if (! in_array('mod_rewrite',apache_get_modules())) {
-                       check_add($ck_funcs, t('Apace mod_rewrite module'), false, true, t('Error: Apache webserver mod-rewrite module is required but not installed.'));
+                       check_add($ck_funcs, t('Apache mod_rewrite module'), false, true, t('Error: Apache webserver mod-rewrite module is required but not installed.'));
                } else {
-                       check_add($ck_funcs, t('Apace mod_rewrite module'), true, true, "");
+                       check_add($ck_funcs, t('Apache mod_rewrite module'), true, true, "");
                }
        }
        if(! function_exists('curl_init')){
@@ -451,7 +451,7 @@ function load_database_rem($v, $i){
 function load_database($db) {
 
        $str = file_get_contents('database.sql');
-       $str = array_reduce(explode("\n", $str),"load_database_rem","");
+//     $str = array_reduce(explode("\n", $str),"load_database_rem","");
        $arr = explode(';',$str);
        $errors = false;
        foreach($arr as $a) {
@@ -464,3 +464,6 @@ function load_database($db) {
        }
        return $errors;
 }
+
+
+