ソースを参照

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

Daniel Rudolf 8 年 前
コミット
38615e444d
1 ファイル変更1 行追加1 行削除
  1. 1 1
      lib/Pico.php

+ 1 - 1
lib/Pico.php

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