Gestionnaire de fichiers - Editer - /home/wwgoat/public_html/blog/wp-content/plugins/simple-membership/classes/class.swpm-messages.php
Arrière
<?php class SwpmMessages { private $messages; private $session_key; public function __construct() { $this->messages = get_option('swpm-messages'); $this->session_key = $_COOKIE['swpm_session']; } public function get($key) { $combined_key = $this->session_key . '_' . $key; if (isset($this->messages[$combined_key])) { $m = $this->messages[$combined_key]; unset($this->messages[$combined_key]); update_option('swpm-messages', $this->messages); return $m; } return ''; } public function set($key, $value) { $combined_key = $this->session_key . '_' . $key; $this->messages[$combined_key] = $value; update_option('swpm-messages', $this->messages); } }
| ver. 1.4 |
Github
|
.
| PHP 8.0.30 | Génération de la page: 0.01 |
proxy
|
phpinfo
|
Réglages