Skip to content

Bagaimana Cara Menyembunyikan Skrip yang Berasal dari Ekstensi? #185

Discussion options

You must be logged in to vote

Bisa menambahkan perintah seperti ini di berkas .\lot\layout\index.php mas, nggak perlu edit berkas ekstensi secara langsung:

$z = defined('DEBUG') && DEBUG ? '.' : '.min.';
if ($site->is('mobile')) {
    Asset::let(LOT . DS . 'x' . DS . 'view' . DS . 'lot' . DS . 'asset' . DS . 'js' . DS . 'index' . $z . 'js');
}

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by yuliakbard
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants