diff --git a/app/Console/Commands/HRCCommand.php b/app/Console/Commands/HRCCommand.php index edc383a..830fdf1 100644 --- a/app/Console/Commands/HRCCommand.php +++ b/app/Console/Commands/HRCCommand.php @@ -34,7 +34,7 @@ class HRCCommand extends Command if($this->argument('source') != 'null') { $source_file = CORE_PATH . '/temp/' . $this->argument('source'); Log::debug(file_get_contents($source_file)); - $data = parse_ini_file($source_file); + $data = parse_ini_file($source_file, false, INI_SCANNER_RAW); if (isset($data['raw_result'])) { unset($data['raw_result']); @@ -50,7 +50,7 @@ class HRCCommand extends Command { if($this->argument('source') != 'null') { $source_file = CORE_PATH . '/temp/' . $this->argument('source'); - $data = parse_ini_file($source_file); + $data = parse_ini_file($source_file, false, INI_SCANNER_RAW); if (isset($data['raw_result'])) { return json_decode(base64_decode($data['raw_result']), true);