X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=application%2Fconfig%2FConfigJson.php;h=30007eb4cfd550fc106d7ace97fca00545519cff;hb=7af9a41881ed0b9d44d18a0ce03a123a8441adf5;hp=d07fefee5c2968292eba37c240861d8eb2bf43dc;hpb=ceeb8fbeb89f69e41791ae192d073d6afea00f4b;p=github%2Fshaarli%2FShaarli.git diff --git a/application/config/ConfigJson.php b/application/config/ConfigJson.php index d07fefee..30007eb4 100644 --- a/application/config/ConfigJson.php +++ b/application/config/ConfigJson.php @@ -21,7 +21,7 @@ class ConfigJson implements ConfigIO $data = json_decode($data, true); if ($data === null) { $error = json_last_error(); - throw new Exception('An error occured while parsing JSON file: error code #'. $error); + throw new Exception('An error occurred while parsing JSON file: error code #'. $error); } return $data; }