getValue('salt'); if ($salt) { self::$_salt = $salt; } else { self::$_salt = self::generate(); if (!self::$_store->setValue(self::$_salt, 'salt')) { error_log('failed to store the server salt, delete tokens, traffic limiter and user icons won\'t work'); } } return self::$_salt; } /** * set the path * * @access public * @static * @param AbstractData $store */ public static function setStore(AbstractData $store) { self::$_salt = ''; parent::setStore($store); } }