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:
parent
475f2d4a3d
commit
163c8a1e8c
|
|
@ -27,7 +27,6 @@
|
|||
require_once "root.php";
|
||||
require_once "resources/require.php";
|
||||
require_once "resources/check_auth.php";
|
||||
|
||||
if (permission_exists('xml_cdr_view')) {
|
||||
//access granted
|
||||
}
|
||||
|
|
@ -40,14 +39,10 @@ else {
|
|||
$language = new text;
|
||||
$text = $language->get();
|
||||
|
||||
//import xml_cdr files
|
||||
require_once "v_xml_cdr_import.php";
|
||||
|
||||
//additional includes
|
||||
require_once "resources/header.php";
|
||||
require_once "resources/paging.php";
|
||||
|
||||
|
||||
//xml cdr include
|
||||
$rows_per_page = 100;
|
||||
require_once "xml_cdr_inc.php";
|
||||
|
|
|
|||
Loading…
Reference in New Issue