@@ -15,7 +15,7 @@ |
||
15 | 15 | public function __construct($path) |
16 | 16 | { |
17 | 17 | $basePath = $_SERVER['DOCUMENT_ROOT']; |
18 | - $path = $basePath .'/'. trim($path, '\/'); |
|
18 | + $path = $basePath . '/' . trim($path, '\/'); |
|
19 | 19 | if (empty($path) || !(is_dir($path) || is_file($path)) || !is_writable($path)) { |
20 | 20 | throw new Exception('Путь не может быть пустым или нет доступа'); |
21 | 21 | } |