Файловый менеджер - Редактировать - /home/wuectly/www/03cbe/class.tar
Назад
loader.php 0000604 00000002222 15245530310 0006513 0 ustar 00 <?php /** * @package Joomla.Libraries * @subpackage Class * * @copyright (C) 2014 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; use Composer\Autoload\ClassLoader; /** * Decorate Composer ClassLoader for Joomla! * * For backward compatibility due to class aliasing in the CMS, the loadClass() method was modified to call * the JLoader::applyAliasFor() method. * * @since 3.4 */ class JClassLoader { /** * The composer class loader * * @var ClassLoader * @since 3.4 */ private $loader; /** * Constructor * * @param ClassLoader $loader Composer autoloader * * @since 3.4 */ public function __construct(ClassLoader $loader) { $this->loader = $loader; } /** * Loads the given class or interface. * * @param string $class The name of the class * * @return boolean|null True if loaded, null otherwise * * @since 3.4 */ public function loadClass($class) { if ($result = $this->loader->loadClass($class)) { JLoader::applyAliasFor($class); } return $result; } } class.php 0000604 00000003322 15245714037 0006366 0 ustar 00 <?php /** *------------------------------------------------------------------------------ * iCagenda v3 by Jooml!C - Events Management Extension for Joomla! 2.5 / 3.x *------------------------------------------------------------------------------ * @package iCagenda * @subpackage utilities * @copyright Copyright (c)2012-2015 Cyril Rezé, Jooml!C - All rights reserved * * @license GNU General Public License version 3 or later; see LICENSE.txt * @author Cyril Rezé (Lyr!C) * @link http://www.joomlic.com * * @version 3.4.0 2014-06-29 * @since 3.4.0 *------------------------------------------------------------------------------ */ // No direct access to this file defined('_JEXEC') or die(); /** * class icagendaClass */ class icagendaClass { /** * Function to set an alert message if a class from Utilities is not loaded * * @since 3.4.0 */ static public function isLoaded($class = null) { if (!class_exists($class) && $class) { $app = JFactory::getApplication(); $alert_message = JText::sprintf('ICAGENDA_CLASS_NOT_FOUND', '<strong>' . $class . '</strong>') . '<br />' . JText::_('ICAGENDA_IS_NOT_CORRECTLY_INSTALLED'); // Get the message queue $messages = $app->getMessageQueue(); $display_alert_message = false; // If we have messages if (is_array($messages) && count($messages)) { // Check each message for the one we want foreach ($messages as $key => $value) { if ($value['message'] == $alert_message) { $display_alert_message = true; } } } if (!$display_alert_message) { $app->enqueueMessage($alert_message, 'error'); } return false; } else { return true; } } } index.html 0000604 00000000037 15245714037 0006545 0 ustar 00 <!DOCTYPE html><title></title>
| ver. 1.4 |
Github
|
.
| PHP 8.1.34 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка