Back to top
if ($instance == null || $refresh) { $component="com_rokbridge"; $table =& JTable::getInstance('component'); $table->loadByOption( $component ); // work out file path $option = preg_replace( '#\W#', '', $table->option ); $path = JPATH_ADMINISTRATOR.DS.'components'.DS.$option.DS.'config.xml'; jimport( 'joomla.filesystem.file' ); if (JFile::exists( $path )) { $instance = new JParameter( $table->params, $path ); } else { $instance = new JParameter( $table->params ); } }
Copyleft: Tutto il materiale pubblicato o comunque presente all'interno del sito www.joomla.it può essere utilizzato, diffuso e modificato liberamente. Hosting fornito gratuitamente da Joomlahost.it Disegno web da kreatif multimedia srl