11-12-2016, 02:49 PM
I just tested this. I would copy all the userspice 4 classes into the models folder
Then edit models/config.php
Right after the line
require_once("funcs.php");
Add
require_once("Config.php");
require_once("Cookie.php");
require_once("DB.php");
require_once("Hash.php");
require_once("Input.php");
require_once("Redirect.php");
require_once("Session.php");
require_once("Token.php");
require_once("Validate.php");
And that SHOULD do it.
Then edit models/config.php
Right after the line
require_once("funcs.php");
Add
require_once("Config.php");
require_once("Cookie.php");
require_once("DB.php");
require_once("Hash.php");
require_once("Input.php");
require_once("Redirect.php");
require_once("Session.php");
require_once("Token.php");
require_once("Validate.php");
And that SHOULD do it.