| 12345678910111213141516171819202122232425262728293031323334 |
- <?php
- /**
- * @author Open Mind
- * @date 09/04/2018
- * @time 11:33
- */
- //error_reporting(E_ALL);
- // Init Framework
- require_once 'lib/f3/base.php';
- $f3 = \Base::instance();
- // Initialize App Menu
- $f3->set('GLOBALMENU', array());
- // Load Utility Class
- require_once "src\OpenMind\System\OMUtils.php";
- // Initialize Util library
- $frameworkUtils = new \OpenMind\System\OMUtils();
- // PHP Check Version
- $frameworkUtils->DieByOldPhpVersion();
- // Load configuration
- $frameworkUtils->LoadEncryptedConfig('cfg/config.bin');
- // Dynamic Module Loading
- $frameworkUtils->PluginLoader('src/');
- // Run Framework!!
- $f3->run();
|