Скрипт отключает не нужные разширения.
- Залейте файл
cleanup.phpв папкуadministation - Перейдите по адресу
https://www.example.com/administrator/cleanup.php - Выберите те раширение которые надо отключить
- Нажмите
Cleanup - Удалите файл
cleanup.php
| <?php //вывод позиции модулей | |
| $document = JFactory::getDocument(); | |
| $renderer = $document->loadRenderer('modules'); | |
| $options = array('style' => 'xhtml'); | |
| $position = 'user1'; | |
| echo $renderer->render($position, $options, null); | |
| ?> | |
| <!-- или --> |
https://cdn.rawgit.com/mfd/b366b05d1265ec42b852b7b2777d6711/raw/04f2ac0f5dcf790c097148cbe2887e798be9cb28/Muller.css
<link rel="https://cdn.rawgit.com/mfd/b366b05d1265ec42b852b7b2777d6711/raw/04f2ac0f5dcf790c097148cbe2887e798be9cb28/Muller.css">
| <field name="myrepeatfield" | |
| type="Repeatable" | |
| icon="list" | |
| description="Field Description here" | |
| label="Field Label Here" | |
| default="{'customfield1':['Custom Field 1 value repeat1', 'Custom Field 1 value repeat2'], 'customfield2':['Custom Field 2 value repeat1','Custom Field 2 value repeat2']}"> | |
| <fieldset hidden="true" name="myrepeatfield_modal" repeat="true"> | |
| <field name="customfield1" |
| <field name="myrepeatfield" | |
| type="Repeatable" | |
| icon="list" | |
| description="Field Description here" | |
| label="Field Label Here" | |
| default=""> | |
| <fieldset hidden="true" name="myrepeatfield_modal" repeat="true"> | |
| <field name="customfield1" |
| if [ -f ~/.bashrc ]; then . ~/.bashrc; fi |
| 0 0 * * * /some/path/to/a/file.php > $HOME/`date +\%Y\%m\%d\%H\%M\%S`-cron.log 2>&1 | |
| jbzoo items:items-import -vvv >> /home/vsem/logs/cron-jbzoo/`date +\%Y-\%m-\%d_\%H-\%M-\%S`-cron.log 2>&1 | |
| * * * * * /usr/local/bin/php -c /etc/php.ini ~/cli/jbzoo/vendor/jbzoo/console/bin/jbzoo items:items-import -vvv >> /home/vsem/logs/cron-jbzoo/`date +\%Y-\%m-\%d_\%H-\%M-\%S`-cron.log 2>&1 |
| <?php | |
| $orenru = 'http://www.oren.ru/rss/'; | |
| $ural56 = 'http://www.ural56.ru/news/news-rss.php'; | |
| $oreninform = 'http://oreninform.ru/rss/'; | |
| $ru56 = 'http://56.ru/text/rss.xml'; | |
| $xml = $orenru; | |
| $rss = simplexml_load_file($xml); | |
| echo '<div class="orenburg-rss-stream"><ul>'; |
| <amp-pixel src="https://ssl.google-analytics.com/collect?v=1&tid=UA-12345678-1&t=pageview&cid=$RANDOM&dt=$TITLE&dl=$CANONICAL_URL&z=$RANDOM"></amp-pixel> | |
| /* | |
| * Required parameters: | |
| * v = API version number (currently 1) | |
| * tid = Google Analytics property identifier (UA-12345678-1) | |
| * t = hit type | |
| * cid = client id (you should implement this via cookie etc.) | |
| * z = random string to bypass caching (amphtml generates this to $RANDOM variable) |