Spaces:
Sleeping
Sleeping
Commit
·
ac38ec2
1
Parent(s):
1bf06f1
test constants
Browse files- mvc/app/config/config.php +1 -4
- mvc/public/index.php +4 -0
mvc/app/config/config.php
CHANGED
@@ -1,7 +1,4 @@
|
|
1 |
<?php
|
2 |
|
3 |
-
|
4 |
-
define('APP_HOME',dirname(dirname(__FILE__)));
|
5 |
-
define('URL',getenv('URL'));
|
6 |
-
define("APP_NAME",getenv("APP_NAME"));
|
7 |
|
|
|
1 |
<?php
|
2 |
|
3 |
+
|
|
|
|
|
|
|
4 |
|
mvc/public/index.php
CHANGED
@@ -1,4 +1,8 @@
|
|
1 |
<?php
|
|
|
|
|
|
|
|
|
2 |
// Load defaults
|
3 |
require_once('../app/init.php');
|
4 |
|
|
|
1 |
<?php
|
2 |
+
print_r(getenv());
|
3 |
+
define('APP_HOME',dirname(dirname(__FILE__)));
|
4 |
+
define('URL',getenv('URL'));
|
5 |
+
define("APP_NAME",getenv("APP_NAME"));
|
6 |
// Load defaults
|
7 |
require_once('../app/init.php');
|
8 |
|