/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
public static function getInstance() { if(!is_a($_SESSION["MTVUsers"], "MTVUsers") || HTTPCache::shouldBeNoCache()) $_SESSION["MTVUsers"] = new MTVUsers($_SERVER['DOCUMENT_ROOT']."/capital_invest_de/Login/Users/Users.csv", "Username", "Password"); return $_SESSION["MTVUsers"]; }