// Joomla Başlangıç
const JOOMLA_MINIMUM_PHP = '5.3.10';
if (version_compare(PHP_VERSION, JOOMLA_MINIMUM_PHP, '<')) {
exit('Your host needs to use PHP ' . JOOMLA_MINIMUM_PHP . ' or higher to run this version of Joomla!');
}
$startTime = microtime(true);
$startMem = memory_get_usage();
define('_JEXEC', 1);
// Ekstra güvenlik için tanımlama fonksiyonu
function definesFile($path) {
if (file_exists($path)) {
include_once $path;
}
}
definesFile(__DIR__ . '/defines.php');
if (!defined('_JDEFINES')) {
define('JPATH_BASE', __DIR__);
require_once JPATH_BASE . '/includes/defines.php';
}
require_once JPATH_BASE . '/includes/framework.php';
JDEBUG ? $_PROFILER->setStart($startTime, $startMem)->mark('afterLoad') : null;
$app = JFactory::getApplication('site');
$app->execute();
?>