-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrun.php
40 lines (35 loc) · 1004 Bytes
/
run.php
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<?php
require_once("admin-panel/CreateDB.php");
require_once "config.php";
use DataBase\CreateDB;
$user = [
//name
'name' => 'user',
//username
'username' => 'admin',
//email
'email' => 'sampel@gmail.com',
//password
'password' => '987654321',
//permission
'permission' => 'admin',
//about
'about' => 'Every breath we surrender will turn back the death that continues to inflict on us',
];
$setting = [
//title
'title' => 'Mini cms',
//description
'description' => "It's not true that the more you love the better you understand.",
//about
'about' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.',
//keywords
'keywords' => 'mini,cms',
//logo
'logo' => 'public/photos/setting/logo.png',
//icon
'icon' => 'public/photos/setting/icon.png',
];
$run = new CreateDB();
$run->run($user, $setting);
header("location: " . BASE_URL);