fix?
This commit is contained in:
parent
a785c57689
commit
2265ffb3f2
1 changed files with 1 additions and 1 deletions
|
@ -200,7 +200,7 @@
|
|||
<?php
|
||||
// ensure the file exists before attempting to read from it
|
||||
if (!file_exists("posts.txt")) {
|
||||
$myfile = fopen("posts.txt", "w");
|
||||
$myfile = fopen("posts.txt", "a");
|
||||
fclose($myfile);
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue