Current Path: > home > codekrsu > > ameliagraphics.com > wp-content > plugins > filebird > includes > Classes > > >
Operation : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 Software : Apache Server IP : 162.0.232.56 | Your IP: 216.73.216.111 Domains : 1034 Domain(s) Permission : [ 0755 ]
Name | Type | Size | Last Modified | Actions |
---|---|---|---|---|
Attachment | Directory | - | - | |
Modules | Directory | - | - | |
ActivePro.php | File | 2084 bytes | August 23 2024 17:15:40. | |
Config.php | File | 1110 bytes | May 27 2024 10:21:44. | |
Convert.php | File | 4621 bytes | May 27 2024 10:21:44. | |
Core.php | File | 12018 bytes | February 12 2025 12:41:10. | |
Feedback.php | File | 577 bytes | May 27 2024 10:21:44. | |
FolderStateManager.php | File | 1805 bytes | May 27 2024 10:21:44. | |
Helpers.php | File | 5391 bytes | August 23 2024 17:15:40. | |
Review.php | File | 2688 bytes | May 27 2024 10:21:44. | |
Schedule.php | File | 1881 bytes | May 27 2024 10:21:44. | |
Tree.php | File | 6848 bytes | March 19 2025 13:38:06. |
<?php namespace FileBird\Classes; class Config { private static $loaded_configs = array(); /** * Set config * * Eg: Config::setConfig('PostType', $data); * or: Config::setConfig('PostType.name', 'foo'); */ public static function setConfig( $name, $data ) { $ex = explode( '.', $name ); if ( count( $ex ) == 1 ) { self::$loaded_configs[ $name ] = $data; } elseif ( count( $ex ) == 2 ) { if ( ! isset( self::$loaded_configs[ $ex[0] ] ) ) { self::$loaded_configs[ $ex[0] ] = array(); } self::$loaded_configs[ $ex[0] ][ $ex[1] ] = $data; } } /** * Get loaded config * * Eg: Config::getConfig('PostType.name'); */ public static function getConfig( $name ) { $ex = explode( '.', $name ); if ( count( $ex ) == 2 ) { if ( isset( self::$loaded_configs[ $ex[0] ] ) && isset( self::$loaded_configs[ $ex[0] ][ $ex[1] ] ) ) { return self::$loaded_configs[ $ex[0] ][ $ex[1] ]; } } } }
SILENT KILLER Tool