Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- if (strpos($_ENV["HTTP_HOST"], 'site1', 0) === 0) {
- $sites[$_ENV["HTTP_HOST"]] = 'site1';
- }
- if (strpos($_ENV["HTTP_HOST"], 'site2', 0) === 0) {
- $sites[$_ENV["HTTP_HOST"]] = 'site2';
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement