diff options
author | icewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-03-03 12:51:32 +0000 |
---|---|---|
committer | icewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-03-03 12:51:32 +0000 |
commit | a68f492daaf56d153f72346b66b5002b2cc46b9d (patch) | |
tree | af30c55a4d930f7a01031bd0fecd2af17121021d /engine/lib/elgglib.php | |
parent | 24ff396481f2574419363d5114086613af7b91bb (diff) | |
download | elgg-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
Diffstat (limited to 'engine/lib/elgglib.php')
-rw-r--r-- | engine/lib/elgglib.php | 6 |
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; }
|