mirror of
https://github.com/Karaka-Management/oms-Script.git
synced 2026-03-29 08:08:40 +00:00
don't load css in backend, only in sandbox
This commit is contained in:
parent
dba3448913
commit
3b6a903db4
|
|
@ -167,10 +167,6 @@ final class BackendController extends Controller
|
|||
$tcoll['template'] = $tMedia;
|
||||
} elseif (StringUtils::endsWith($lowerPath, '.css')) {
|
||||
$tcoll['css'] = $tMedia;
|
||||
|
||||
/** @var \phpOMS\Model\Html\Head $head */
|
||||
$head = $response->get('Content')->getData('head');
|
||||
$head->addAsset(AssetType::CSS, $request->getUri()->getBase() . $tMedia->getPath());
|
||||
} elseif (StringUtils::endsWith($lowerPath, '.js')) {
|
||||
$tcoll['js'] = $tMedia;
|
||||
} elseif (StringUtils::endsWith($lowerPath, '.sqlite') || StringUtils::endsWith($lowerPath, '.db')) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user