Permalink
Browse files

Rename `FOOHOST` to `FOURONEONEHOST`.

  • Loading branch information...
kiwiz committed Sep 28, 2016
1 parent 785c393 commit e8f2f35b7daf449c285a9b1ff2e3477aa6aed447
Showing with 4 additions and 4 deletions.
  1. +1 −1 411.conf
  2. +1 −1 docs/Setup.md
  3. +2 −2 phplib/Site.php
View
@@ -7,7 +7,7 @@
DocumentRoot /var/www/411/htdocs
# Force this vhost to use a specific 411 instance.
- # SetEnv FOOHOST HOSTNAME
+ # SetEnv FOURONEONEHOST HOSTNAME
<Directory /var/www/411/htdocs>
AllowOverride Indexes FileInfo Options
View
@@ -118,7 +118,7 @@ Create a new 411 site:
```
# Run the bin/create_site.php script and answer the questions.
# Important: The hostname has to match what you've configured in the vhost. (Including the port, if it's nonstandard)
-# If this is not possible, set the `FOOHOST` value in the vhost to the same value.
+# If this is not possible, set the `FOURONEONEHOST` value in the vhost to the same value.
$ bin/create_site.php
Creating new site
Site name: FourOneOne
View
@@ -57,9 +57,9 @@ public static function clearSite() {
*/
public static function getCurrent() {
$host =
- getenv('FOOHOST') ?:
+ getenv('FOURONEONEHOST') ?:
getenv('411HOST') ?:
- Util::get($_SERVER, 'FOOHOST', '') ?:
+ Util::get($_SERVER, 'FOURONEONEHOST', '') ?:
Util::get($_SERVER, '411HOST', '') ?:
Util::get($_SERVER, 'HTTP_HOST', '');
if(self::$site === Site::NONE && strlen($host) > 0) {

1 comment on commit e8f2f35

@calh

This comment has been minimized.

Show comment
Hide comment

calh commented on e8f2f35 Sep 28, 2016

👍

Please sign in to comment.