Mercurial > hg > ywww
changeset 50:99a730ffeaf6
more parameterisation
author | Charlie Root |
---|---|
date | Sun, 27 Jan 2019 14:24:02 -0500 |
parents | a67bf725e87b |
children | e6976d92cfc9 |
files | .user.ini index.php |
diffstat | 2 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/.user.ini Wed Jan 16 13:42:15 2019 -0500 +++ b/.user.ini Sun Jan 27 14:24:02 2019 -0500 @@ -1,1 +1,1 @@ -include_path = ".:/var/test/ywww:/var/test/private:/usr/share/php" +include_path = ".:/var${IP_PREFIX}/ywww:/var${IP_PREFIX}/private:/usr/share/php"
--- a/index.php Wed Jan 16 13:42:15 2019 -0500 +++ b/index.php Sun Jan 27 14:24:02 2019 -0500 @@ -10,6 +10,8 @@ else {$country_code = "US" ; } dl("cc: $country_code\n"); +dl("tp: ".getenv("TEST_PREFIX")."\n"); +dl("ip: ".getenv("IP_PREFIX")." ".ini_get('include_path')."\n"); $home=$_SERVER['SERVER_NAME']; $path=$_SERVER['SCRIPT_NAME'];