Remove the importing XML CDR from the file system when the xml_cdr.php is loaded. This will make the page load faster. Use a POST to the web server or a cron job to load from the file system.
This commit is contained in:
@@ -27,7 +27,6 @@
|
|||||||
require_once "root.php";
|
require_once "root.php";
|
||||||
require_once "resources/require.php";
|
require_once "resources/require.php";
|
||||||
require_once "resources/check_auth.php";
|
require_once "resources/check_auth.php";
|
||||||
|
|
||||||
if (permission_exists('xml_cdr_view')) {
|
if (permission_exists('xml_cdr_view')) {
|
||||||
//access granted
|
//access granted
|
||||||
}
|
}
|
||||||
@@ -40,14 +39,10 @@ else {
|
|||||||
$language = new text;
|
$language = new text;
|
||||||
$text = $language->get();
|
$text = $language->get();
|
||||||
|
|
||||||
//import xml_cdr files
|
|
||||||
require_once "v_xml_cdr_import.php";
|
|
||||||
|
|
||||||
//additional includes
|
//additional includes
|
||||||
require_once "resources/header.php";
|
require_once "resources/header.php";
|
||||||
require_once "resources/paging.php";
|
require_once "resources/paging.php";
|
||||||
|
|
||||||
|
|
||||||
//xml cdr include
|
//xml cdr include
|
||||||
$rows_per_page = 100;
|
$rows_per_page = 100;
|
||||||
require_once "xml_cdr_inc.php";
|
require_once "xml_cdr_inc.php";
|
||||||
|
|||||||
Reference in New Issue
Block a user