Fix PHP warning date()

This commit is contained in:
BoboTiG 2013-11-21 00:59:11 +01:00
parent 2068947e61
commit dd1b754994

View file

@ -7,6 +7,8 @@ define('ALLOW_REMOTE_DB_DL', true);
define('ALLOW_REMOTE_MEDIA_DL', true); define('ALLOW_REMOTE_MEDIA_DL', true);
define('EXEC_TIME', 10); define('EXEC_TIME', 10);
date_default_timezone_set('UTC');
header("HTTP/1.0 403 Forbidden"); /* Uncivilized method to prevent bot indexing, huh :) */ 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('X-Robots-Tag: noindex'); /* more civilized method, but bots may not all take into account */
//header('Content-type: text/plain'); //header('Content-type: text/plain');