File manager - Edit - /home/jardides/www/Jardi-design/old/administrator/components/com_templateck/views/template/tmpl/ajaxsavecustomcode.php
Back
<?php /** * @name Template Creator CK 3 * @package com_templateck * @copyright Copyright (C) 2013. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt * @author Cedric Keiflin - http://www.template-creator.com - http://www.joomlack.fr */ // No direct access to this file defined('_JEXEC') or die('Restricted access'); $app = JFactory::getApplication(); $templateid = $app->input->get('templateid', '', 'int'); $customcode = $app->input->get('customcode', '', 'raw'); $customcodeendbody = $app->input->get('customcodeendbody', '', 'raw'); $templatename = $app->input->get('templatename', '', 'string'); $path = JPATH_ROOT . '/components/com_templateck/projects/' . $templatename; if (JFile::write($path . '/customheader.php', $customcode)) { $msg = JText::_('CK_CUSTOMCODE_SAVE_SUCCESS'); } else { $msg = JText::_('CK_CUSTOMCODE_SAVE_FAILED'); } echo $msg; if (JFile::write($path . '/customcodeendbody.php', $customcodeendbody)) { $msg = JText::_('CK_CUSTOMCODE_SAVE_SUCCESS'); } else { $msg = JText::_('CK_CUSTOMCODE_SAVE_FAILED'); } echo $msg;
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0 |
proxy
|
phpinfo
|
Settings