| Line 33... |
Line 33... |
| 33 |
Framework::setInfoAppli(Config::get('info'));
|
33 |
Framework::setInfoAppli(Config::get('info'));
|
| Line 34... |
Line 34... |
| 34 |
|
34 |
|
| 35 |
// Création de l'objet Wiki qui sera transmis au service via le Registre
|
35 |
// Création de l'objet Wiki qui sera transmis au service via le Registre
|
| 36 |
Registre::set('cheminApi', getcwd());
|
36 |
Registre::set('cheminApi', getcwd());
|
| - |
|
37 |
Registre::set('cheminWiki', realpath(dirname(__FILE__).DS.'..'.DS.'..'.DS).DS);
|
| 37 |
Registre::set('cheminWiki', realpath(dirname(__FILE__).DS.'..'.DS.'..'.DS).DS);
|
38 |
|
| 38 |
//require_once(getcwd().DS.'bibliotheque'.DS.'WikiApi.php');
|
39 |
require_once(getcwd().DS.'..'.DS.'bibliotheque'.DS.'WikiApi.php');
|
| 39 |
$wikiApi = new WikiApi(Registre::get('cheminWiki'), Registre::get('cheminApi'));
|
40 |
$wikiApi = new WikiApi(Registre::get('cheminWiki'), Registre::get('cheminApi'));
|
| Line 40... |
Line 41... |
| 40 |
Registre::set('wikiApi', $wikiApi);
|
41 |
Registre::set('wikiApi', $wikiApi);
|
| 41 |
|
42 |
|