Fix PHP warning date()
This commit is contained in:
parent
2068947e61
commit
dd1b754994
1 changed files with 15 additions and 13 deletions
|
@ -7,6 +7,8 @@ define('ALLOW_REMOTE_DB_DL', true);
|
|||
define('ALLOW_REMOTE_MEDIA_DL', true);
|
||||
define('EXEC_TIME', 10);
|
||||
|
||||
date_default_timezone_set('UTC');
|
||||
|
||||
header("HTTP/1.0 403 Forbidden"); /* Uncivilized method to prevent bot indexing, huh :) */
|
||||
header('X-Robots-Tag: noindex'); /* more civilized method, but bots may not all take into account */
|
||||
//header('Content-type: text/plain');
|
||||
|
|
Loading…
Reference in a new issue