| ... | ... |
@@ -1,5 +1,8 @@ |
| 1 | 1 |
<?php |
| 2 |
- |
|
| 2 |
+// temp error message suppression - for stories.php when adding a new story or editing an existing one |
|
| 3 |
+// main purpose is to stop web server error log spam with stories.php - this has very unintended effects |
|
| 4 |
+// should properly fix this before PHP 9.0 |
|
| 5 |
+// Reference: https://wiki.php.net/rfc/undefined_variable_error_promotion |
|
| 3 | 6 |
error_reporting(0); |
| 4 | 7 |
|
| 5 | 8 |
// Defines the character set for your language/location |