mirror of
https://gitlab.com/hashborgir/d2tools.git
synced 2024-11-30 12:36: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(){
|
public function __construct(){
|
||||||
$sql = "SELECT * FROM strings";
|
$sql = "SELECT * FROM strings";
|
||||||
$this->strings = PDO_FetchAssoc($sql);
|
$this->strings = PDO_FetchAssoc($sql);
|
||||||
|
$_SESSION['strings'] = $this->strings;
|
||||||
return $this->strings;
|
return $this->strings;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user