Pour initialiser votre application vous pouvez écrire à la main les fichiers de configurations nécessaire ou vous pouvez utiliser l'installeur FlampYnstall
Pour ce faire vous devez décompresser le contenu de l'installeur dans un répertoire accessible par une Url.
Puis vous devez modifier (à la main ce coup ci) le fichier index.php
<?php // Include Application Path "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">'); } else { "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">'); } require_once 'application/ApplicationBuilder.php'; ApplicationBuilder::getInstance()->buildNewApplication($_POST, $_FILES); ?> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" > <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Flampy - Installation Report Status</title> <link type="text/css" rel="stylesheet" href="FlampyNstall.css"/> <script type="text/javascript" src="http://component.webeo.fr/js/Webeo.js"></script> <script type="text/javascript" src="FlampyNstall.js"></script> <script language="Javascript"> ek.require("gui.tree.Tree"); ek.start(init); function init(){ var treeType = new ShowTreeType("showContent"); var t1 = new Tree('tree'); <?php ApplicationBuilder::getInstance()->writeTreeDeclaration("t1"); ?> t1.build(); } </script> </head> <body> <h1 id="page">Flampy Installation Report Status</h1> <div id="container"> <div id="tree"></div> <div id="showContent"> <?php ApplicationBuilder::getInstance()->writeTreeContent(); ?> </div> </div> </body> </html>
Il suffit juste de modifier la ligne
set_include_path(get_include_path() . PATH_SEPARATOR . '../Flampy');
pour inclure le répertoire où est installé Flampy.
Ensuite il suffit de lancer votre navigateur et de faire comme sur la Démo