diff CacheTimeCheck.inc @ 64:164268b4e0d9

Make class of logger.
author Tom Fredrik "BFG" Klaussen <bfg@blenning.no>
date Thu, 11 Oct 2012 20:33:04 +0200
parents 3898353ed1d8
children 7b87ec8b0842
line wrap: on
line diff
--- a/CacheTimeCheck.inc	Thu Oct 11 20:26:27 2012 +0200
+++ b/CacheTimeCheck.inc	Thu Oct 11 20:33:04 2012 +0200
@@ -95,7 +95,7 @@
   function cache_time($path)
   {
     if (!file_exists($path)) {
-      warn("${path} does not exist");
+      Logger::warn("${path} does not exist");
       errorPage("Resource is not available");
     }