. EXCEPTION : As a special exception, you may create a larger work that contains this FAUST architecture section and distribute that work under terms of your choice, so long as this FAUST architecture section is not modified. */ error_reporting(E_ALL); //if no session is found, a new one is started if (session_id()=="") session_start(); require "php/functions.php"; require "php/make_element.php"; //session variables are updated $_SESSION['orig_editor'] = 1; $_SESSION['goto'] = "faustCode"; //creating the session folder on the server id it doesn't already exists $_SESSION['id'] = session_id(); system("scripts/new_session ".$_SESSION['id'], $ret); if ($ret != 0) {erreur("index.php: Unable to start a new session. Please, try later."); return 1;} //get the code of compiler.html if ($_SESSION['htmlCode'] == "" || $_SESSION['fullScreenModeTest'] == 1){ if($_SESSION['fullScreenMode'] == 1) $_SESSION['htmlCode'] = read_file("compiler-large.html"); else $_SESSION['htmlCode'] = read_file("compiler.html"); $_SESSION['fullScreenModeTest'] = 0; } $html = $_SESSION['htmlCode']; //the html page is built display_header($html); display_catalog($html,"goto_codeFaust.php"); display_exampleSaver($html); display_navigation($html,2); display_dropFile($html,"goto_codeFaust()"); display_atelier($html); display_welcome($html); display_footer($html); ?>