Skip to content

Commit

Permalink
Fix bug with snippet
Browse files Browse the repository at this point in the history
  • Loading branch information
gtraxx committed Jun 20, 2019
1 parent 4e6eeb0 commit 251b64c
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions app/backend/controller/setting.php
Original file line number Diff line number Diff line change
Expand Up @@ -148,12 +148,15 @@ private function setSnippetPath(){
$setData['path'] = $this->setSkinPath.$this->setSkinData().DIRECTORY_SEPARATOR.'snippet';
$setData['type'] = 'skin';
$setData['directory'] = $this->setSkinData().'/snippet';
}else{
}/*else{
$setData['path'] = component_core_system::basePath().PATHADMIN.DIRECTORY_SEPARATOR.'template'.DIRECTORY_SEPARATOR.'snippet';
$setData['type'] = 'admin';
$setData['directory'] = 'snippet';
}
return $setData;
}*/
else{
$setData = null;
}
return $setData;
}

/**
Expand Down

0 comments on commit 251b64c

Please sign in to comment.