aboutsummaryrefslogtreecommitdiff
path: root/engine/lib
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib')
-rw-r--r--engine/lib/elgglib.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/lib/elgglib.php b/engine/lib/elgglib.php
index 31b652aae..56db07027 100644
--- a/engine/lib/elgglib.php
+++ b/engine/lib/elgglib.php
@@ -237,12 +237,12 @@
$sanitised = false;
}
- /*if (!file_exists(dirname(dirname(dirname(__FILE__)))) . "/.htaccess") {
+ if (!file_exists(dirname(dirname(dirname(__FILE__))) . "/.htaccess")) {
if (!copy(dirname(dirname(dirname(__FILE__))) . "/htaccess_dist", dirname(dirname(dirname(__FILE__))) . "/.htaccess")) {
register_error(elgg_view("messages/sanitisation/htaccess"));
$sanitised = false;
}
- }*/
+ }
return $sanitised;
@@ -477,7 +477,7 @@
error_log("DEBUG: " . $error);
// register_error("DEBUG: " . $error);
}
-
+ echo "$error <br />";
return true;
}