mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
A little code house cleaning.
This commit is contained in:
@@ -27,9 +27,7 @@ require_once "root.php";
|
||||
require_once "resources/require.php";
|
||||
|
||||
//preferences
|
||||
$v_label_show = false;
|
||||
$v_menu_tab_show = false;
|
||||
$v_fax_show = true;
|
||||
$v_path_show = true;
|
||||
|
||||
//get user defined variables
|
||||
@@ -189,16 +187,6 @@ foreach($settings_array as $name => $value) {
|
||||
}
|
||||
}
|
||||
|
||||
if ($db_type == "sqlite") {
|
||||
//sqlite: check if call detail record (CDR) db file exists if not create it
|
||||
if (!file_exists($db_file_path.'/'.$server_name.'.cdr.db')) {
|
||||
//echo "file does not exist: ".$_SESSION['switch']['db']['dir'].'/cdr.db';
|
||||
if (copy($db_file_path.'/cdr.clean.db', $db_file_path.'/'.$server_name.'.cdr.db')) {
|
||||
//echo "copy succeeded.\n";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function build_menu() {
|
||||
global $v_menu_tab_show;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user