Skip to content
This repository was archived by the owner on Jul 16, 2025. It is now read-only.

Commit 6cd2565

Browse files
fixed .htaccess file name
1 parent ed39d37 commit 6cd2565

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cache.class-old.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,8 @@ private function createDirectory($directory)
122122
*/
123123
private function createDefaultFiles($directory)
124124
{
125-
if (!file_exists($directory . DIRECTORY_SEPARATOR . "htaccess")) {
126-
$f = @fopen($directory . DIRECTORY_SEPARATOR . "htaccess", "a+");
125+
if (!file_exists($directory . DIRECTORY_SEPARATOR . ".htaccess")) {
126+
$f = @fopen($directory . DIRECTORY_SEPARATOR . ".htaccess", "a+");
127127
@fwrite($f, "deny from all");
128128
@fclose($f);
129129
}

0 commit comments

Comments
 (0)