@@ -23,7 +23,7 @@ discard block |
||
23 | 23 | if (is_file($tss)) { |
24 | 24 | $this->file = $tss; |
25 | 25 | $this->rules = $this->getRulesFromCache($tss, $templatePrefix); |
26 | - $baseDir = dirname(realpath($tss)) . DIRECTORY_SEPARATOR; |
|
26 | + $baseDir = dirname(realpath($tss)).DIRECTORY_SEPARATOR; |
|
27 | 27 | if (empty($this->rules)) $tss = file_get_contents($tss); |
28 | 28 | else return; |
29 | 29 | } |
@@ -51,7 +51,7 @@ discard block |
||
51 | 51 | } |
52 | 52 | |
53 | 53 | private function getCacheKey($file) { |
54 | - return $file . $this->prefix . dirname(realpath($file)) . DIRECTORY_SEPARATOR; |
|
54 | + return $file.$this->prefix.dirname(realpath($file)).DIRECTORY_SEPARATOR; |
|
55 | 55 | } |
56 | 56 | |
57 | 57 | public function parse($indexStart = 0) { |
@@ -124,7 +124,7 @@ discard block |
||
124 | 124 | } |
125 | 125 | |
126 | 126 | private function import($args, $indexStart) { |
127 | - if ($this->file !== null) $fileName = dirname(realpath($this->file)) . DIRECTORY_SEPARATOR . $args[0]; |
|
127 | + if ($this->file !== null) $fileName = dirname(realpath($this->file)).DIRECTORY_SEPARATOR.$args[0]; |
|
128 | 128 | else $fileName = $args[0]; |
129 | 129 | $this->import[] = $fileName; |
130 | 130 | $sheet = new Sheet($fileName, $this->prefix, $this->baseDir, $this->xPath, $this->valueParser, $this->cache); |