<?php
defined('_JEXEC') or die('Direct Access to this location is not allowed.');

if(!version_compare(PHP_VERSION, '5.1.2', '>=')){
 
	echo '<b style="color:red">WARNING: YOU ARE RUNNING PHP VERSION "'.PHP_VERSION.'". BREEZINGFORMS WON\'T WORK WITH THIS VERSION. PLEASE UPGRADE TO AT LEAST PHP 5.1.2, SORRY BUT YOU BETTER UNINSTALL THIS COMPONENT NOW!</b>';
}

if (file_exists(JPATH_SITE . "/administrator/components/com_joomfish/contentelements"))
{
	@JFile::copy( JPATH_SITE . "/administrator/components/com_facileforms/joomfish/facileforms_elements.xml",JPATH_SITE . "/administrator/components/com_joomfish/contentelements/facileforms_elements.xml");
	@JFile::copy( JPATH_SITE . "/administrator/components/com_facileforms/joomfish/translationFformFilter.php", JPATH_SITE . "/administrator/components/com_joomfish/contentelements/translationFformFilter.php");
	@JFile::copy( JPATH_SITE . "/administrator/components/com_facileforms/joomfish/translationFformoptions_emptyFilter.php", JPATH_SITE . "/administrator/components/com_joomfish/contentelements/translationFformoptions_emptyFilter.php");
}
?>