Файловый менеджер - Редактировать - /var/www/iplanru/data/www/i-plan.ru/plugins/content/joomsef/joomsef.php
Назад
<?php /** * SEF component for Joomla! * * @package JoomSEF * @version 4.7.8 * @author ARTIO s.r.o., http://www.artio.net * @copyright Copyright (C) 2020 ARTIO s.r.o. * @license GNU/GPLv3 http://www.artio.net/license/gnu-general-public-license */ defined('_JEXEC') or die('Restricted access'); jimport('joomla.plugin.plugin'); require_once JPATH_SITE.'/components/com_sef/joomsef.php'; class plgContentJoomSEF extends JPlugin { function __construct(&$subject,$config) { parent::__construct($subject,$config); } function onContentAfterSave($context,$item,$isNew) { $context=explode(".",$context); $option=$context[0]; if($option=='com_categories' && strlen(($extension=JRequest::getString('extension',''))!='')) { $option=$extension; } $sef=JoomSEF::getInstance(); if($isNew==false) { $sef->_checkURLs($option,$item); } } function onContentAfterDelete($context,$item) { $context=explode(".",$context); $option=$context[0]; JoomSEF::_removeURL($option,$item); } } ?>
| ver. 1.4 |
Github
|
.
| PHP 5.4.45-1~dotdeb+6.1 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка