| @@ 74-76 (lines=3) @@ | ||
| 71 | $this->name = basename($file); |
|
| 72 | $this->cacheTime = $cacheTime; |
|
| 73 | ||
| 74 | if ($compileId !== null) { |
|
| 75 | $this->compileId = str_replace('../', '__', strtr($compileId, '\\%?=!:;' . PATH_SEPARATOR, '/-------')); |
|
| 76 | } |
|
| 77 | ||
| 78 | if ($cacheId !== null) { |
|
| 79 | $this->cacheId = str_replace('../', '__', strtr($cacheId, '\\%?=!:;' . PATH_SEPARATOR, '/-------')); |
|
| @@ 78-80 (lines=3) @@ | ||
| 75 | $this->compileId = str_replace('../', '__', strtr($compileId, '\\%?=!:;' . PATH_SEPARATOR, '/-------')); |
|
| 76 | } |
|
| 77 | ||
| 78 | if ($cacheId !== null) { |
|
| 79 | $this->cacheId = str_replace('../', '__', strtr($cacheId, '\\%?=!:;' . PATH_SEPARATOR, '/-------')); |
|
| 80 | } |
|
| 81 | ||
| 82 | if (is_string($includePath)) { |
|
| 83 | $this->includePath = array($includePath); |
|
| @@ 126-128 (lines=3) @@ | ||
| 123 | $this->name = hash('md4', $templateString); |
|
| 124 | $this->cacheTime = $cacheTime; |
|
| 125 | ||
| 126 | if ($compileId !== null) { |
|
| 127 | $this->compileId = str_replace('../', '__', strtr($compileId, '\\%?=!:;' . PATH_SEPARATOR, '/-------')); |
|
| 128 | } |
|
| 129 | ||
| 130 | if ($cacheId !== null) { |
|
| 131 | $this->cacheId = str_replace('../', '__', strtr($cacheId, '\\%?=!:;' . PATH_SEPARATOR, '/-------')); |
|
| @@ 130-132 (lines=3) @@ | ||
| 127 | $this->compileId = str_replace('../', '__', strtr($compileId, '\\%?=!:;' . PATH_SEPARATOR, '/-------')); |
|
| 128 | } |
|
| 129 | ||
| 130 | if ($cacheId !== null) { |
|
| 131 | $this->cacheId = str_replace('../', '__', strtr($cacheId, '\\%?=!:;' . PATH_SEPARATOR, '/-------')); |
|
| 132 | } |
|
| 133 | } |
|
| 134 | ||
| 135 | /** |
|