[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/administrator/templates/atum/ -> error.php (source)

   1  <?php
   2  
   3  /**
   4   * @package     Joomla.Administrator
   5   * @subpackage  Templates.Atum
   6   * @copyright   (C) 2017 Open Source Matters, Inc. <https://www.joomla.org>
   7   * @license     GNU General Public License version 2 or later; see LICENSE.txt
   8   * @since       4.0.0
   9   */
  10  
  11  defined('_JEXEC') or die;
  12  
  13  use Joomla\CMS\Factory;
  14  
  15  /** @var \Joomla\CMS\Document\ErrorDocument $this */
  16  
  17  // Authenticated versus guest have different displays
  18  $user = Factory::getUser();
  19  
  20  if ($user->guest) {
  21      require  __DIR__ . '/error_login.php';
  22  } else {
  23      require  __DIR__ . '/error_full.php';
  24  }


Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer