mirror of
https://github.com/hotspotbilling/phpnuxbill.git
synced 2025-08-04 10:15:03 +02:00
Remove active user Before remove user
This commit is contained in:
parent
3833afb3be
commit
14ed0236d0
3 changed files with 50 additions and 8 deletions
|
@ -28,6 +28,12 @@ function _autoloader($class)
|
|||
}
|
||||
spl_autoload_register('_autoloader');
|
||||
|
||||
|
||||
if(php_sapi_name() !== 'cli'){
|
||||
echo "<pre>";
|
||||
}
|
||||
|
||||
|
||||
require_once '../config.php';
|
||||
require_once 'orm.php';
|
||||
require_once 'autoload/PEAR2/Autoload.php';
|
||||
|
@ -56,6 +62,14 @@ foreach ($result as $value) {
|
|||
$config[$value['setting']] = $value['value'];
|
||||
}
|
||||
|
||||
echo "PHP Time\t" . date('Y-m-d H:i:s') . "\n";
|
||||
$res = ORM::raw_execute('SELECT NOW() AS WAKTU;');
|
||||
$statement = ORM::get_last_statement();
|
||||
$rows = array();
|
||||
while ($row = $statement->fetch(PDO::FETCH_ASSOC)) {
|
||||
echo "MYSQL Time\t" . $row['WAKTU'] . "\n";
|
||||
}
|
||||
|
||||
$_c = $config;
|
||||
|
||||
date_default_timezone_set($config['timezone']);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue