Windows BS
authorCameron Ball <c.ball1729@gmail.com>
Wed, 17 Dec 2014 17:31:55 +0000 (01:31 +0800)
committerCameron Ball <c.ball1729@gmail.com>
Wed, 17 Dec 2014 17:31:55 +0000 (01:31 +0800)
Services/ZipParser.php

index 3abc391..a8d5631 100644 (file)
@@ -124,7 +124,7 @@ class ZipParser implements IZipParser
     {
         $parser = $this->_smParser;
         $parser->parse($smData);
-        $banner = $this->_bannerExtracter->extractSongBanner('../files/StepMania/' . $this->_file->getHash() . '.zip', $parser->banner());
+        $banner = $this->_bannerExtracter->extractSongBanner(realpath('../files/StepMania/' . $this->_file->getHash() . '.zip'), $parser->banner());
         $file = $this->isPack() ? null : $this->_file;
         
         return $this->_smBuilder->With_Title($parser->title())