ladogton2010 commited on
Commit
7cbf53c
·
1 Parent(s): e636de6

constantes de la app

Browse files
Files changed (1) hide show
  1. mvc/app/config/config.php +11 -1
mvc/app/config/config.php CHANGED
@@ -1,7 +1,17 @@
1
  <?php
 
2
  define('MVC_APP_PATH',dirname(dirname(__FILE__)));
 
3
  define('APP_HOME',dirname(dirname(__FILE__)));
4
 
 
5
  define('URL',getenv('MVC_URL'));
 
6
 
7
- define('MVC_APP_NAME', getenv('MVC_APP_NAME'));
 
 
 
 
 
 
 
1
  <?php
2
+ //Directiorio padre de la aplicacion
3
  define('MVC_APP_PATH',dirname(dirname(__FILE__)));
4
+ define('RUTA_APP', dirname(dirname(__FILE__)));
5
  define('APP_HOME',dirname(dirname(__FILE__)));
6
 
7
+ //Ruta url Ejemplo: dominio+carpeta_del_proyecto
8
  define('URL',getenv('MVC_URL'));
9
+ define('RUTA_URL', '');
10
 
11
+ define('MVC_APP_NAME', getenv('MVC_APP_NAME'));
12
+ define('NOMBRESITIO', '');
13
+
14
+ define('MCV_DB_HOST', getenv('MCV_DB_HOST'));
15
+ define('MCV_DB_USER', getenv('MCV_DB_USER'));
16
+ define('MCV_DB_PASSWORD', getenv('MCV_DB_PASSWORD'));
17
+ define('MCV_DB_NAME', getenv('MCV_DB_NAME'));