/trunk/exemple/index.php |
---|
9,12 → 9,11 |
* une application peut être dans papyrus, ou bien utilisée en stand alone. |
*/ |
define('CHEMIN_APPLI', dirname(__FILE__).DIRECTORY_SEPARATOR); |
// La fonction autolad doit être appelée avant tout autre chose dans l'application. |
// Sinon, rien ne sera chargé. |
require_once dirname(__FILE__).'/../framework/autoload.inc.php'; |
Application::setChemin(__FILE__); |
Application::setInfo(Config::get('info')); |
/** |
* Fonction d'affichage de Papyrus, pour le corps de page |
*/ |