Add debug
This commit is contained in:
@@ -5,6 +5,7 @@ namespace App\Console\Commands;
|
|||||||
use Illuminate\Console\Command;
|
use Illuminate\Console\Command;
|
||||||
use Illuminate\Support\Facades\Config;
|
use Illuminate\Support\Facades\Config;
|
||||||
use Illuminate\Support\Facades\DB;
|
use Illuminate\Support\Facades\DB;
|
||||||
|
use Illuminate\Support\Facades\Log;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class HRCCommand
|
* Class HRCCommand
|
||||||
@@ -32,6 +33,7 @@ class HRCCommand extends Command
|
|||||||
{
|
{
|
||||||
if($this->argument('source') != 'null') {
|
if($this->argument('source') != 'null') {
|
||||||
$source_file = CORE_PATH . '/temp/' . $this->argument('source');
|
$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);
|
||||||
|
|
||||||
if (isset($data['raw_result'])) {
|
if (isset($data['raw_result'])) {
|
||||||
|
|||||||
Reference in New Issue
Block a user