mirror of
https://github.com/pierre42100/ComunicAPI
synced 2025-06-18 16:18:04 +00:00
Can create clients from shell
This commit is contained in:
6
init.php
6
init.php
@ -47,9 +47,9 @@ define("DBprefix", $cs->config->get("dbprefix"));
|
||||
unset($db);
|
||||
|
||||
//Add token object
|
||||
$tokens = new APIClients();
|
||||
$cs->register("tokens", $tokens);
|
||||
unset($tokens);
|
||||
$clients = new APIClients();
|
||||
$cs->register("clients", $clients);
|
||||
unset($clients);
|
||||
|
||||
//Include models
|
||||
foreach(glob(PROJECT_PATH."classes/models/*.php") as $classFile){
|
||||
|
Reference in New Issue
Block a user