@@ -25,7 +25,7 @@ |
||
25 | 25 | } |
26 | 26 | |
27 | 27 | private function getCacheKey($file) { |
28 | - return $file . $this->prefix . dirname(realpath($file)) . DIRECTORY_SEPARATOR; |
|
28 | + return $file.$this->prefix.dirname(realpath($file)).DIRECTORY_SEPARATOR; |
|
29 | 29 | } |
30 | 30 | |
31 | 31 | public function load($tss) { |
@@ -22,7 +22,7 @@ discard block |
||
22 | 22 | if (is_file($tss)) { |
23 | 23 | $this->file = $tss; |
24 | 24 | $this->rules = $this->cache->load($tss); |
25 | - $baseDir = dirname(realpath($tss)) . DIRECTORY_SEPARATOR; |
|
25 | + $baseDir = dirname(realpath($tss)).DIRECTORY_SEPARATOR; |
|
26 | 26 | if (empty($this->rules)) $tss = file_get_contents($tss); |
27 | 27 | else return; |
28 | 28 | } |
@@ -103,7 +103,7 @@ discard block |
||
103 | 103 | } |
104 | 104 | |
105 | 105 | private function import($args, $indexStart) { |
106 | - if ($this->file !== null) $fileName = dirname(realpath($this->file)) . DIRECTORY_SEPARATOR . $args[0]; |
|
106 | + if ($this->file !== null) $fileName = dirname(realpath($this->file)).DIRECTORY_SEPARATOR.$args[0]; |
|
107 | 107 | else $fileName = $args[0]; |
108 | 108 | $this->import[] = $fileName; |
109 | 109 | $sheet = new Sheet($fileName, $this->baseDir, $this->xPath, $this->valueParser, $this->cache); |