<?php
include_once('../../config/config_setting.php');
$config = config_setting::get_config();
$base_path = $config['base_path'];
include_once("{$base_path}/database.php");
$database = new database();
$table = array('user');
$role = array(
'account' => 'Selina',
'password' => '25d55ad283aa400af464c76d713c07ad',
'group_id' => '1000',
'home' => '/home/Selina',
'shell' => '/bin/bash',
'is_disabled' => 0
);
$database->table($table);
$database->role($role);
print_r($database->delete());
|