src/Tweeper.php: use file_get_contents to retrieve the local stylesheet
[tweeper.git] / src / Tweeper.php
index 10e07e3..091b030 100644 (file)
@@ -403,7 +403,7 @@ class Tweeper {
       return NULL;
     }
 
       return NULL;
     }
 
-    $stylesheet_contents = Tweeper::getUrlContents($stylesheet);
+    $stylesheet_contents = file_get_contents($stylesheet);
     if (FALSE === $stylesheet_contents) {
       trigger_error("Cannot open $stylesheet", E_USER_WARNING);
       return NULL;
     if (FALSE === $stylesheet_contents) {
       trigger_error("Cannot open $stylesheet", E_USER_WARNING);
       return NULL;