Project

General

Profile

« Previous | Next » 

Revision 4080

Added by daigle over 16 years ago

Merge 1.9 changes into Head

View differences:

settings.jsp
1 1
<%@ page errorPage="jsperrorpage.html" %>
2
<%@ page import="edu.ucsb.nceas.metacat.MetaCatUtil" %>
2
<%@ page import="edu.ucsb.nceas.metacat.util.SystemUtil" %>
3 3
<%
4
/*
5
 *   '$RCSfile$'
6
 *     Authors: Matthew Brooke
7
 *   Copyright: 2000 Regents of the University of California and the
8
 *              National Center for Ecological Analysis and Synthesis
9
 * For Details: http://www.nceas.ucsb.edu/
10
 *
11
 *    '$Author$'
12
 *      '$Date$'
13
 *  '$Revision$'
14
 *
15
 * Settings file for the default metacat skin
16
 *
17
 * This program is free software; you can redistribute it and/or modify
18
 * it under the terms of the GNU General Public License as published by
19
 * the Free Software Foundation; either version 2 of the License, or
20
 * (at your option) any later version.
21
 *
22
 * This program is distributed in the hope that it will be useful,
23
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
24
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
25
 * GNU General Public License for more details.
26
 *
27
 * You should have received a copy of the GNU General Public License
28
 * along with this program; if not, write to the Free Software
29
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
30
 */
4
	 /*
5
	 *   '$RCSfile$'
6
	 *     Authors: Matthew Brooke
7
	 *   Copyright: 2000 Regents of the University of California and the
8
	 *              National Center for Ecological Analysis and Synthesis
9
	 * For Details: http://www.nceas.ucsb.edu/
10
	 *
11
	 *    '$Author$'
12
	 *      '$Date$'
13
	 *  '$Revision$'
14
	 *
15
	 * Settings file for the default metacat skin
16
	 *
17
	 * This program is free software; you can redistribute it and/or modify
18
	 * it under the terms of the GNU General Public License as published by
19
	 * the Free Software Foundation; either version 2 of the License, or
20
	 * (at your option) any later version.
21
	 *
22
	 * This program is distributed in the hope that it will be useful,
23
	 * but WITHOUT ANY WARRANTY; without even the implied warranty of
24
	 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
25
	 * GNU General Public License for more details.
26
	 *
27
	 * You should have received a copy of the GNU General Public License
28
	 * along with this program; if not, write to the Free Software
29
	 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
30
	 */
31 31
%>
32 32

  
33
<% 
34
  // This is a special case where we do not include style/common/common-settings.jsp  
35
  String  LOCAL_SERVLET_URL  = 
36
     MetaCatUtil.getOption("httpserver") + "/" + MetaCatUtil.getOption("context") + "/metacat";
33
<%
34
	// This is a special case where we do not include style/common/common-settings.jsp  
35
	String LOCAL_SERVLET_URL = SystemUtil.getServletURL();
37 36
%>

Also available in: Unified diff