Browse Source

Use Pico::loadFileContent() in Pico::readPages()

Daniel Rudolf 8 năm trước cách đây
mục cha
commit
38615e444d
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      lib/Pico.php

+ 1 - 1
lib/Pico.php

@@ -1130,7 +1130,7 @@ class Pico
 
             $url = $this->getPageUrl($id);
             if ($file !== $this->requestFile) {
-                $rawContent = file_get_contents($file);
+                $rawContent = $this->loadFileContent($file);
 
                 $headers = $this->getMetaHeaders();
                 try {