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