Sorry

This feed does not validate.

In addition, interoperability with the widest range of feed readers could be improved by implementing the following recommendation.

Source: https://galpaodainformatica.com.br/index.php?option=com_k2&view=itemlist&task=user&id=668356

  1. <?php
  2. /**
  3. * @package    Joomla.Site
  4. *
  5. * @copyright  Copyright (C) 2005 - 2017 Open Source Matters, Inc. All rights reserved.
  6. * @license    GNU General Public License version 2 or later; see LICENSE.txt
  7. */
  8.  
  9. /**
  10. * Define the application's minimum supported PHP version as a constant so it can be referenced within the application.
  11. */
  12. define('JOOMLA_MINIMUM_PHP', '5.3.10');
  13.  
  14. if (version_compare(PHP_VERSION, JOOMLA_MINIMUM_PHP, '<'))
  15. {
  16. die('Your host needs to use PHP ' . JOOMLA_MINIMUM_PHP . ' or higher to run this version of Joomla!');
  17. }
  18.  
  19. // Saves the start time and memory usage.
  20. $startTime = microtime(1);
  21. $startMem  = memory_get_usage();
  22.  
  23. /**
  24. * Constant that is checked in included files to prevent direct access.
  25. * define() is used in the installation folder rather than "const" to not error for PHP 5.2 and lower
  26. */
  27. define('_JEXEC', 1);
  28.  
  29. if (file_exists(__DIR__ . '/defines.php'))
  30. {
  31. include_once __DIR__ . '/defines.php';
  32. }
  33.  
  34. if (!defined('_JDEFINES'))
  35. {
  36. define('JPATH_BASE', __DIR__);
  37. require_once JPATH_BASE . '/includes/defines.php';
  38. }
  39.  
  40. require_once JPATH_BASE . '/includes/framework.php';
  41.  
  42. // Set profiler start time and memory usage and mark afterLoad in the profiler.
  43. JDEBUG ? JProfiler::getInstance('Application')->setStart($startTime, $startMem)->mark('afterLoad') : null;
  44.  
  45. // Instantiate the application.
  46. $app = JFactory::getApplication('site');
  47.  
  48. // Execute the application.
  49. $app->execute();
  50.  
Copyright © 2002-9 Sam Ruby, Mark Pilgrim, Joseph Walton, and Phil Ringnalda