C
C
Combat72016-03-08 02:00:12
Joomla
Combat7, 2016-03-08 02:00:12

How to check url?

In Joomla, system scripts will be connected in the header. I need to disable them, but if I disable them, they are also cut off in the admin panel. We need a code that would check which page we are on, and check if the word administrator is there, or somehow check that we are on the admin page
Help plz

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey, 2016-03-08
@gangstarcj

Disable them in the template, they are immediately searched for in Google.
For example here
Well and for the league of laziness here

A
Arthur, 2016-03-08
@astralo

// обнуляем метатег генератора
$this->setGenerator(null);

// удаляем стандартные скрипты
$this->_scripts = array();
unset($this->_script['text/javascript']);

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question