Fix imports with that contain a slash
This commit is contained in:
@@ -78,9 +78,9 @@ class FrameImport extends Command
|
||||
$o->mode_id = $mo->id;
|
||||
}
|
||||
|
||||
$o->content = ($this->option('trim'))
|
||||
$o->content = str_replace('\\','\\\\',($this->option('trim'))
|
||||
? substr(file_get_contents($this->argument('file')),40)
|
||||
: file_get_contents($this->argument('file'));
|
||||
: file_get_contents($this->argument('file')));
|
||||
|
||||
$o->access = $this->option('access');
|
||||
$o->public = $this->option('public');
|
||||
|
Reference in New Issue
Block a user