. */ /** * @brief Script called by an ajax object to return the content of a javascript file * * Script called by an ajax object to return the content of a javascript file * * @file * @author Claire Figueras * @date $date$ * @version $Revision$ * @ingroup apps */ header('content-type: text/javascript'); if(empty($_REQUEST['scripts'])) { echo ''; exit(); } $arr_scripts = explode('$$', $_REQUEST['scripts']); //print_r($arr_scripts); for($i=0; $i '') { echo file_get_contents($arr_scripts[$i]); } } exit(); ?>