diff --git a/.htaccess b/.htaccess index 2ad46e3444..366818be89 100644 --- a/.htaccess +++ b/.htaccess @@ -35,6 +35,9 @@ RewriteRule ^provision/([A-Fa-f0-9]{12})-directory.xml$ RewriteRule ^.*/([0-9]{1,11})_Extern.xml$ app/provision/?ext=$1&file={$mac}_extern.xml [QSA] RewriteRule ^.*/([0-9]{1,11})_Phonebook.xml$ app/provision/?ext=$1&file={$mac}_phonebook.xml [QSA] +#Aastra +RewriteRule ^provision/aastra.cfg$ app/provision/index.php?file=aastra.cfg [QSA] + Options -Indexes #PHP settings diff --git a/app/devices/device_edit.php b/app/devices/device_edit.php index d849ec19b3..f88fccdece 100644 --- a/app/devices/device_edit.php +++ b/app/devices/device_edit.php @@ -682,7 +682,8 @@ $template_dir = $device->get_template_dir(); echo "