Skip to content
Browse files

Adding timezone notice suppression

  • Loading branch information...
1 parent 7e8d968 commit 875dbd811655ec720f09dc6f68f7878e4f58ddd0 @serby serby committed
Showing with 7 additions and 0 deletions.
  1. +7 −0 maiden
View
7 maiden
@@ -1,6 +1,13 @@
#!/usr/bin/php
<?php
namespace Maiden;
+$timeZone = @date_default_timezone_get();
+
+if (!$timeZone) {
+ $timeZone = "UTC";
+}
+date_default_timezone_set($timeZone);
+
$path = realpath(dirname(__FILE__));
ini_set("include_path", ".:{$path}:{$path}/lib:{$path}/modules/Piton/lib:" . PEAR_INSTALL_DIR);

0 comments on commit 875dbd8

Please sign in to comment.
Something went wrong with that request. Please try again.