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