<?php // Fansoro requires PHP 5.5.0 or greater version_compare(PHP_VERSION, "5.5.0", "<") and exit("Fansoro requires PHP 5.5.0 or greater."); // Register the auto-loader. require_once __DIR__ . '/vendor/autoload.php'; // Initialize Fansoro Application Fansoro::init();
/** * Initialize Fansoro Application * * <code> * Fansoro::init(); * </code> * * @access public * @return object */ public static function init() { return !isset(self::$instance) and self::$instance = new Fansoro(); }