Browse Source

Replace $switch_conf_dir with $_SESSION['switch']['conf']['dir']

Mark Crane 13 years ago
parent
commit
eb3e2d74ed
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tickets/v_profile_delete.php

+ 1 - 1
tickets/v_profile_delete.php

@@ -67,7 +67,7 @@ $sql .= "and xmpp_profile_uuid = '$profile_id' ";
 
 $db->exec(check_sql($sql));
 
-$filename = $switch_conf_dir . "/jingle_profiles/" . "v_" . $v_domain . "_" . 
+$filename = $_SESSION['switch']['conf']['dir'] . "/jingle_profiles/" . "v_" . $v_domain . "_" . 
 	preg_replace("/[^A-Za-z0-9]/", "", $profile['profile_name']) . "_" . $profile_id . ".xml";
 
 unlink($filename);