<?php
 define('PLATFORM_NAME', 'nanoCart'); define('PLATFORM_VERSION', '0.1.0'); define('SCRIPT_TIMESTAMP_START', microtime(true)); ob_start(); if (!defined('FS_DIR_APP')) { if (!file_exists(__DIR__ . '/config.inc.php')) { header('Location: ' . (defined('FS_DIR_PUBLIC') ? './install/' : '../core/install/')); exit; } require_once __DIR__ . '/config.inc.php'; } require_once __DIR__ . '/library/lib_vmod.inc.php'; vmod::init(); require_once vmod::check(FS_DIR_APP . 'includes/compatibility.inc.php'); require_once vmod::check(FS_DIR_APP . 'includes/autoloader.inc.php'); if (is_file(FS_DIR_ROOT . 'vendor/autoload.php')) { require_once FS_DIR_ROOT . 'vendor/autoload.php'; } if (defined('FS_DIR_REGISTRY') && is_file(FS_DIR_ROOT . 'vendor/autoload.php')) { \NanoCart\Registry\Loader::boot(); } require_once vmod::check(FS_DIR_APP . 'includes/error_handler.inc.php'); class_exists('document'); class_exists('notices'); class_exists('stats'); event::fire('before_capture'); stats::$data['before_content'] = microtime(true) - SCRIPT_TIMESTAMP_START; stats::start_watch('content_capture'); 