Browse Source

dev 2020-09

Max F 5 years ago
parent
commit
5d89c5b0e8
1 changed files with 4 additions and 3 deletions
  1. 4 3
      Readme.md

+ 4 - 3
Readme.md

@@ -190,12 +190,13 @@ nano config/config.php
 
 ini_set('display_errors', 1);
 
-define('TPL_DIR', APP_DIR . '/templates');
+define('APP_NAME', "MyAPP");
 
-define('DB_DSN', 'mysql://root@localhost/myapp');
+define('ENV', "dev");
 
-define('APP_NAME', "MyAPP");
+define('TPL_DIR', APP_DIR . '/templates');
 
+define('DB_DSN', 'mysql://root@localhost/myapp');
 ```
 
 Créer le fichier config/routes.php et le remplir avec ceci :