aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoricewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-03-03 12:51:32 +0000
committericewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-03-03 12:51:32 +0000
commita68f492daaf56d153f72346b66b5002b2cc46b9d (patch)
treeaf30c55a4d930f7a01031bd0fecd2af17121021d
parent24ff396481f2574419363d5114086613af7b91bb (diff)
downloadelgg-a68f492daaf56d153f72346b66b5002b2cc46b9d.tar.gz
elgg-a68f492daaf56d153f72346b66b5002b2cc46b9d.tar.bz2
Fixed file exist error
git-svn-id: https://code.elgg.org/elgg/trunk@53 36083f99-b078-4883-b0ff-0f9b5a30f544
-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;
}