| Conditions | 2 |
| Paths | 2 |
| Total Lines | 9 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 13 | private function __construct() { |
||
| 14 | |||
| 15 | $projectPath = realpath($_SERVER[ 'PWD' ]) . '/'; |
||
| 16 | $this->_tempPath = $projectPath . 'temp/'; |
||
| 17 | if( !file_exists($this->_tempPath) ) { |
||
| 18 | mkdir($this->_tempPath); |
||
| 19 | } |
||
| 20 | |||
| 21 | $this->_nonExistingPath = $this->getTempPath() . 'should-not-exist/'; |
||
| 22 | } |
||
| 51 | } |