1
0
mirror of https://github.com/pierre42100/ComunicAPI synced 2025-07-15 06:18:08 +00:00

Created friend model

This commit is contained in:
Pierre
2018-02-03 15:17:25 +01:00
parent e09b280e20
commit 375a4c6c82
2 changed files with 52 additions and 0 deletions
classes/models
init.php

@ -51,6 +51,11 @@ $tokens = new Tokens();
$cs->register("tokens", $tokens);
unset($tokens);
//Include models
foreach(glob(PROJECT_PATH."classes/models/*.php") as $classFile){
require_once $classFile;
}
//Include components
foreach(glob(PROJECT_PATH."classes/components/*.php") as $classFile){
require_once $classFile;