AAAAhome/academiac/www/libraries/joomla/form/fields/databaseconnection.php000064400000004034151375140210022212 0ustar00element['supported']; if (!empty($supported)) { $supported = explode(',', $supported); foreach ($supported as $support) { if (in_array($support, $available)) { $options[$support] = ucfirst($support); } } } else { foreach ($available as $support) { $options[$support] = ucfirst($support); } } // This will come into play if an application is installed that requires // a database that is not available on the server. if (empty($options)) { $options[''] = JText::_('JNONE'); } return $options; } }