alternate_domains_emulab.net.php 1.52 KB
Newer Older
Kirk Webb's avatar
Kirk Webb committed
1 2
<?php
#
3
# Copyright (c) 2000-2014 University of Utah and the Flux Group.
Kirk Webb's avatar
Kirk Webb committed
4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
# 
# {{{EMULAB-LICENSE
# 
# This file is part of the Emulab network testbed software.
# 
# This file is free software: you can redistribute it and/or modify it
# under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or (at
# your option) any later version.
# 
# This file is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Affero General Public
# License for more details.
# 
# You should have received a copy of the GNU Affero General Public License
# along with this file.  If not, see <http://www.gnu.org/licenses/>.
# 
# }}}
#

25 26 27 28 29
# Alternate domain def structures.  The first element of the outermost
# array is the regex pattern to match against $_SERVER['SERVER_NAME'].
# The second element is another array that contains key-value pairs
# for various top-level variable overrides.  See SetDomainDefs() in
# defs.php3 for more info.
Kirk Webb's avatar
Kirk Webb committed
30 31

#
32
# PhantomNet view declaration
Kirk Webb's avatar
Kirk Webb committed
33
#
34
$PNET_DOMVIEW = array('hide_sidebar' => 0, 'hide_banner' => 0,
35
		      'hide_copyright' => 0, 'show_pnet' => 1,
36
		      'css-override' => 1, 'hide_elab' => 1);
Kirk Webb's avatar
Kirk Webb committed
37

38
$ALTERNATE_DOMAINS[] = 
39
    array('/phantom/', 
40
	  array('THISHOMEBASE' => 'PhantomNet',
41
		'WIKINODE' => 'wiki.phantomnet.org',
42
		'FORUMURL' => 'http://groups.google.com/group/phantomnet-users',
43 44
		'DOMVIEW' => $PNET_DOMVIEW
		));
Kirk Webb's avatar
Kirk Webb committed
45

46
?>