*/ // Framework paths. $paths = apply_filters('themosis_framework_paths', []); // Plugin base path. $paths['plugin'] = __DIR__ . DS; // Framework base path. $paths['sys'] = __DIR__ . DS . 'src' . DS . 'Themosis' . DS; // Storage path. $paths['storage'] = THEMOSIS_STORAGE; // Register globally the paths themosis_set_paths($paths); // Bootstrap the framework require_once themosis_path('plugin') . 'bootstrap' . DS . 'start.php'; } /** * Returns the directory name. * * @return string */ public static function getDirName() { return static::$dirName; } } } /** * Load the main class. * */ $GLOBALS['THFWK_Themosis'] = THFWK_Themosis::getInstance();