AJAX installation is 'basicly finished' :) Plus I threw in a small christmas present...
[mailer.git] / inc / modules / guest / what-extensions.php
index 2023adb92c5aad67e2aa21fe3d6e73cf0565bf28..57bf8b9b5ce54b0e9604adcd163508039d32a07e 100644 (file)
@@ -44,16 +44,7 @@ if (!defined('__SECURITY')) {
 addYouAreHereLink('guest', __FILE__);
 
 // Get all extension files
-$extensions = getArrayFromDirectory(
-       'templates/' . getLanguage() . '/html/ext/',
-       'ext_',
-       false,
-       false,
-       array(),
-       '.tpl',
-       '@(\.|\.\.)$@',
-       false
-);
+$extensions = loadAllExtensionsByTemplate();
 
 // Now iterate through all and load that template file
 $OUT = '';