- Timestamp:
- 02/06/14 13:20:26 (10 years ago)
- Location:
- cats/ISOcat/trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
cats/ISOcat/trunk/mod-ISOcat-access-system/config/database.acc
r2029 r4462 17 17 <jdbcDriver>org.postgresql.Driver</jdbcDriver> 18 18 <jdbcConnection> 19 <xsl:text>jdbc:postgresql://localhost/</xsl:text> 20 <xsl:choose> 21 <xsl:when test="normalize-space(database/name)!=''"> 22 <xsl:value-of select="normalize-space(database/name)"/> 23 </xsl:when> 24 <xsl:otherwise> 25 <xsl:text>ISOcat</xsl:text> 26 </xsl:otherwise> 19 <xsl:text>jdbc:postgresql://</xsl:text> 20 <xsl:choose> 21 <xsl:when test="normalize-space(database/host)!=''"> 22 <xsl:value-of select="normalize-space(database/host)"/> 23 </xsl:when> 24 <xsl:otherwise> 25 <xsl:text>localhost</xsl:text> 26 </xsl:otherwise> 27 </xsl:choose> 28 <xsl:if test="normalize-space(database/port)!=''"> 29 <xsl:text>:</xsl:text> 30 <xsl:value-of select="normalize-space(database/port)"/> 31 </xsl:if> 32 <xsl:text>/</xsl:text> 33 <xsl:choose> 34 <xsl:when test="normalize-space(database/name)!=''"> 35 <xsl:value-of select="normalize-space(database/name)"/> 36 </xsl:when> 37 <xsl:otherwise> 38 <xsl:text>ISOcat</xsl:text> 39 </xsl:otherwise> 27 40 </xsl:choose> 28 41 </jdbcConnection> -
cats/ISOcat/trunk/mod-ISOcat-access-system/config/set.acc
r4185 r4462 27 27 </admin> 28 28 <database> 29 <host> 30 <xsl:value-of select="database_host"/> 31 </host> 32 <port> 33 <xsl:value-of select="database_port"/> 34 </port> 29 35 <name> 30 36 <xsl:value-of select="database_name"/> -
cats/ISOcat/trunk/mod-ISOcat-access-system/etc/ISOcatConfig.xml
r4036 r4462 7 7 </admin> 8 8 <database> 9 <host>localhost</host> 10 <port/> 9 11 <name>isocat</name> 10 12 <user>isocat</user> -
cats/ISOcat/trunk/mod-ISOcat-manage-system/plugin/configure.xsl
r4036 r4462 53 53 </tr> 54 54 <tr> 55 <td>host</td> 56 <td> 57 <input name="database_host" value="{database/host}"/> 58 </td> 59 <td/> 60 </tr> 61 <tr> 62 <td>port</td> 63 <td> 64 <input name="database_port" value="{database/port}"/> 65 </td> 66 <td/> 67 </tr> 68 <tr> 55 69 <td>database</td> 56 70 <td>
Note: See TracChangeset
for help on using the changeset viewer.