Added ponify directory in config

This commit is contained in:
Josef Citrine 2017-05-15 12:18:04 +01:00
parent 104318e789
commit 373703990c
2 changed files with 2 additions and 1 deletions

View file

@ -82,7 +82,7 @@ class ImportPonify extends Command
pcntl_signal(SIGINT, [$this, 'handleInterrupt']); 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'; $tmpPath = Config::get('ponyfm.files_directory').'/tmp';
if (!File::exists($tmpPath)) { if (!File::exists($tmpPath)) {

View file

@ -13,6 +13,7 @@ return [
*/ */
'files_directory' => env('PONYFM_DATASTORE'), 'files_directory' => env('PONYFM_DATASTORE'),
'ponify_directory' => env('PONIFY_DIRECTORY'),
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------