Projet

Général

Profil

« Précédent | Suivant » 

Révision 7a668bd8

Ajouté par Ermal il y a plus de 9 ans

Fix path to xml and make sure the parser will see the custom tags

Voir les différences:

etc/inc/ipsec.inc
601 601
 * Return dump of mobile user list
602 602
 */
603 603
function ipsec_dump_mobile() {
604
	global $g;
604
	global $g, $custom_listtags;
605 605

  
606 606
	$_gb = exec("/usr/local/sbin/ipsec stroke leases > {$g['tmp_path']}/strongswan_leases.xml");
607 607

  
608
	if (!file_exists("{$g['varrun_path']}/strongswan_leases.xml")) {
608
	if (!file_exists("{$g['tmp_path']}/strongswan_leases.xml")) {
609 609
		log_error(gettext("IPSec daemon seems to have issues or not running! Could not display mobile user stats!"));
610 610
		return array();
611 611
	}

Formats disponibles : Unified diff