diff options
Diffstat (limited to 'application/config/ConfigPhp.php')
-rw-r--r-- | application/config/ConfigPhp.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/application/config/ConfigPhp.php b/application/config/ConfigPhp.php index d7fd4baf..2633824d 100644 --- a/application/config/ConfigPhp.php +++ b/application/config/ConfigPhp.php | |||
@@ -1,4 +1,5 @@ | |||
1 | <?php | 1 | <?php |
2 | namespace Shaarli\Config; | ||
2 | 3 | ||
3 | /** | 4 | /** |
4 | * Class ConfigPhp (ConfigIO implementation) | 5 | * Class ConfigPhp (ConfigIO implementation) |
@@ -115,7 +116,7 @@ class ConfigPhp implements ConfigIO | |||
115 | if (!file_put_contents($filepath, $configStr) | 116 | if (!file_put_contents($filepath, $configStr) |
116 | || strcmp(file_get_contents($filepath), $configStr) != 0 | 117 | || strcmp(file_get_contents($filepath), $configStr) != 0 |
117 | ) { | 118 | ) { |
118 | throw new IOException( | 119 | throw new \IOException( |
119 | $filepath, | 120 | $filepath, |
120 | 'Shaarli could not create the config file. | 121 | 'Shaarli could not create the config file. |
121 | Please make sure Shaarli has the right to write in the folder is it installed in.' | 122 | Please make sure Shaarli has the right to write in the folder is it installed in.' |