From 24ff396481f2574419363d5114086613af7b91bb Mon Sep 17 00:00:00 2001 From: icewing Date: Mon, 3 Mar 2008 12:26:03 +0000 Subject: 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 --- engine/lib/elgglib.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engine/lib') 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; -- cgit v1.2.3