mirror of
https://gitlab.com/hashborgir/d2tools.git
synced 2024-11-30 04:26:03 +00:00
add strings to session
This commit is contained in:
parent
4315b08b56
commit
a1f3ca5320
@ -15,6 +15,7 @@ class D2Strings {
|
||||
public function __construct(){
|
||||
$sql = "SELECT * FROM strings";
|
||||
$this->strings = PDO_FetchAssoc($sql);
|
||||
return $this->strings;
|
||||
$_SESSION['strings'] = $this->strings;
|
||||
return $this->strings;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user