aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authoricewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-03-03 12:26:03 +0000
committericewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-03-03 12:26:03 +0000
commit24ff396481f2574419363d5114086613af7b91bb (patch)
tree237239004f4e608b6b90aaf2561d4bd0adba434e /engine
parent8d7f1119ce18f959b067ec95db9d20945c9c6c30 (diff)
downloadelgg-24ff396481f2574419363d5114086613af7b91bb.tar.gz
elgg-24ff396481f2574419363d5114086613af7b91bb.tar.bz2
Removed test to see if .htaccess exists, this test doesn't work on my machine. Reason unknown.
git-svn-id: https://code.elgg.org/elgg/trunk@52 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine')
-rw-r--r--engine/lib/elgglib.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/lib/elgglib.php b/engine/lib/elgglib.php
index 1c5f8bb97..31b652aae 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;