forked from kevinowino869/mitrobill
add sub sales
This commit is contained in:
@ -82,7 +82,6 @@ foreach ($result as $value) {
|
||||
$config[$value['setting']] = $value['value'];
|
||||
}
|
||||
date_default_timezone_set($config['timezone']);
|
||||
ORM::raw_execute("SET time_zone = '$config[timezone]';");
|
||||
|
||||
if (!empty($radius_user) && $config['radius_enable']) {
|
||||
ORM::configure("mysql:host=$radius_host;dbname=$radius_name", null, 'radius');
|
||||
@ -90,7 +89,6 @@ if (!empty($radius_user) && $config['radius_enable']) {
|
||||
ORM::configure('password', $radius_pass, 'radius');
|
||||
ORM::configure('driver_options', array(PDO::MYSQL_ATTR_INIT_COMMAND => 'SET NAMES utf8'), 'radius');
|
||||
ORM::configure('return_result_sets', true, 'radius');
|
||||
ORM::raw_execute("SET time_zone = '$config[timezone]';",[],'radius');
|
||||
}
|
||||
|
||||
echo "PHP Time\t" . date('Y-m-d H:i:s') . "\n";
|
||||
|
Reference in New Issue
Block a user