scratch
/text.php |
---|
@@ -68,7 +68,8 @@ |
break; |
case 'LOAD': |
if(!file_exists($userPath.'.html')) { |
header('File not found.', true, 404); |
### If the file does not exist, present an empty file instead of 404. |
echo ''; |
return; |
} |
### Set no-cache |
/text.php |
---|
@@ -68,7 +68,8 @@ |
break; |
case 'LOAD': |
if(!file_exists($userPath.'.html')) { |
header('File not found.', true, 404); |
### If the file does not exist, present an empty file instead of 404. |
echo ''; |
return; |
} |
### Set no-cache |