| @@ 54-59 (lines=6) @@ | ||
| 51 | $name |
|
| 52 | )); |
|
| 53 | ||
| 54 | if (!General::realiseDirectory($dir, $config->get('write_mode', 'directory'))) { |
|
| 55 | throw new Exception(sprintf( |
|
| 56 | 'Could not create ā%sā directory. Check permission on the root folder.', |
|
| 57 | $name |
|
| 58 | )); |
|
| 59 | } |
|
| 60 | } |
|
| 61 | ||
| 62 | return true; |
|
| @@ 37-42 (lines=6) @@ | ||
| 34 | $name |
|
| 35 | )); |
|
| 36 | ||
| 37 | if (!General::realiseDirectory($dir, $config->get('write_mode', 'directory'))) { |
|
| 38 | throw new Exception(sprintf( |
|
| 39 | 'Could not create ā%sā directory. Check permission on the root folder.', |
|
| 40 | $name |
|
| 41 | )); |
|
| 42 | } |
|
| 43 | } |
|
| 44 | ||
| 45 | return true; |
|