-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathseed.php
More file actions
26 lines (25 loc) · 736 Bytes
/
Copy pathseed.php
File metadata and controls
26 lines (25 loc) · 736 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<?php require_once(__DIR__.'/vendor/autoload.php');
use Raymondoor\Controller\UserAuth;
use Raymondoor\Model\Article;
use Raymondoor\Model\Category;
use Raymondoor\Model\Logger;
use Raymondoor\Model\Report;
use Raymondoor\Model\Sns;
use Raymondoor\Model\Project;
use Raymondoor\Model\Timeline;
use Raymondoor\Model\User;
try{
// initialize db
$db['usr'] = User::make();
$dv['su'] = UserAuth::registerSU('admin', 'password');
$db['pj'] = Project::make();
$db['cat'] = Category::make();
$db['art'] = Article::make();
$db['rep'] = Report::make();
$db['sns'] = SNS::make();
$db['tml'] = Timeline::make();
$db['log'] = Logger::make();
dump($db);
}catch(Exception $e){
echo $e->getMessage();
}