diff --git a/lib/Controller/ApiController.php b/lib/Controller/ApiController.php index 85a3f6cf..2017d9ab 100644 --- a/lib/Controller/ApiController.php +++ b/lib/Controller/ApiController.php @@ -604,7 +604,7 @@ class ApiController extends Controller } // Make sure not running in read-only mode - if ($this->config->getSystemValue('memories_readonly', false)) { + if ($this->config->getSystemValue('memories.readonly', false)) { return new JSONResponse(["message" => "Cannot change settings in readonly mode"], Http::STATUS_FORBIDDEN); } diff --git a/lib/Exif.php b/lib/Exif.php index e2dc81d8..2c086ad2 100644 --- a/lib/Exif.php +++ b/lib/Exif.php @@ -393,7 +393,7 @@ class Exif /** Get path to exiftool binary */ private static function getExiftool() { - $configKey = 'memories_exiftool'; + $configKey = 'memories.exiftool'; $config = \OC::$server->getConfig(); $configPath = $config->getSystemValue($configKey); $noLocal = $config->getSystemValue($configKey.'_no_local', false);