From 373703990c26462ce2d259abda24ad13d5cc0422 Mon Sep 17 00:00:00 2001 From: Josef Citrine Date: Mon, 15 May 2017 12:18:04 +0100 Subject: [PATCH] Added ponify directory in config --- app/Console/Commands/ImportPonify.php | 2 +- config/ponyfm.php | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/Console/Commands/ImportPonify.php b/app/Console/Commands/ImportPonify.php index 93e978ca..855c4d99 100644 --- a/app/Console/Commands/ImportPonify.php +++ b/app/Console/Commands/ImportPonify.php @@ -82,7 +82,7 @@ class ImportPonify extends Command pcntl_signal(SIGINT, [$this, 'handleInterrupt']); - $ponifyPath = Config::get('ponyfm.files_directory').'/ponify'; + $ponifyPath = Config::get('ponyfm.ponify_directory'); $tmpPath = Config::get('ponyfm.files_directory').'/tmp'; if (!File::exists($tmpPath)) { diff --git a/config/ponyfm.php b/config/ponyfm.php index da95567f..b27cd037 100644 --- a/config/ponyfm.php +++ b/config/ponyfm.php @@ -13,6 +13,7 @@ return [ */ 'files_directory' => env('PONYFM_DATASTORE'), + 'ponify_directory' => env('PONIFY_DIRECTORY'), /* |--------------------------------------------------------------------------