Rev | Line | |
---|
[1] | 1 | <?php |
---|
| 2 | |
---|
| 3 | # -------------------------------------------------------------- |
---|
| 4 | # chemins |
---|
| 5 | # |
---|
| 6 | |
---|
| 7 | # chemin absolu a partir de la racine du site |
---|
| 8 | $this->PATHES["web"] = "[web_path]"; |
---|
| 9 | |
---|
| 10 | # chemin relatifs par rapport a $this->PATHES["web"] (ci-dessus) |
---|
| 11 | $this->PATHES["app"] = $path_prefix.RSR_APP_PATH; |
---|
| 12 | $this->PATHES["out"] = $this->path("app")."out/dist/"; |
---|
| 13 | $this->PATHES["uploads"] = $path_prefix."uploads/"; |
---|
| 14 | |
---|
| 15 | # -------------------------------------------------------------- |
---|
| 16 | # base de donnees |
---|
| 17 | # |
---|
| 18 | |
---|
| 19 | # sgbd : "mysql", "mysqli", "pgsql" ou "sqlite" |
---|
| 20 | $this->bdd["sgbd"] = "[db_type]"; |
---|
| 21 | |
---|
| 22 | # parametres de connection |
---|
| 23 | $this->bdd["host"] = "[db_host]"; |
---|
| 24 | $this->bdd["base"] = "[db_base]"; |
---|
| 25 | $this->bdd["prefix"] = "[db_prefix]"; |
---|
| 26 | $this->bdd["user"] = "[db_user]"; |
---|
| 27 | $this->bdd["password"] = "[db_password]"; |
---|
| 28 | |
---|
| 29 | # -------------------------------------------------------------- |
---|
| 30 | # divers |
---|
| 31 | # |
---|
| 32 | |
---|
| 33 | # le nom du site |
---|
| 34 | $this->CONFIG["site_name"] = "[site_name]"; |
---|
| 35 | |
---|
| 36 | # le nombre maximum des listes sur le site |
---|
| 37 | # pour l'affichage des news en page d'accueil ou les listes |
---|
| 38 | # des editos, des spotlights (...) dans la partie admin. |
---|
| 39 | # au-dela de cette limite, les listes seront presentees sur |
---|
| 40 | # plusieur pages |
---|
| 41 | $this->CONFIG["max_list"] = 10; |
---|
| 42 | |
---|
| 43 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.