| 12345678910111213141516171819202122232425262728293031323334353637 |
- <?php
- /**
- * @author Open Mind
- * @date 09/04/2018
- * @time 11:33
- */
- //error_reporting(E_ALL);
- // Init Framework
- use OpenMind\System\OMUtils;
- require_once 'lib/f3/base.php';
- /** @var \Base $f3 */
- $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 OMUtils();
- // PHP Check Version
- $frameworkUtils->DieByOldPhpVersion();
- // Load configuration
- $frameworkUtils->LoadEncryptedConfig('cfg/config.bin');
- // Dynamic Module Loading
- $frameworkUtils->PluginLoader('src/');
- // Run Engine!!
- $f3->run();
|