コード例 #1
0
ファイル: FileHandler.class.php プロジェクト: rhymix/rhymix
 /**
  * Returns the content of the file
  *
  * @param string $filename Path of target file
  * @return string The content of the file. If target file does not exist, this function returns nothing.
  */
 public static function readFile($filename)
 {
     return Rhymix\Framework\Storage::read(self::getRealPath($filename));
 }