forked from osCommerce/oscommerce2
/
parameters.xml
executable file
·162 lines (125 loc) · 5.23 KB
/
parameters.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
<parameters>
<parameter name="AppPath"
defaultValue="Default Web Site/osCommerce"
tags="iisapp" >
<parameterEntry
type="ProviderPath"
scope="iisapp"
match="catalog" />
</parameter>
<parameter name="SetAclParameter1"
description="Sets the ACL on the configuration file"
defaultValue="{AppPath}/includes/configure.php"
tags="Hidden" >
<parameterEntry
type="ProviderPath"
scope="setAcl"
match="catalog/includes/configure.php$" />
</parameter>
<parameter name="SetAclParameter2"
description="Sets the ACL on the admin configuration file"
defaultValue="{AppPath}/admin/includes/configure.php"
tags="Hidden" >
<parameterEntry
type="ProviderPath"
scope="setAcl"
match="catalog/admin/includes/configure.php$" />
</parameter>
<parameter name="SetAclParameter3"
description="Sets the ACL on the images folder"
defaultValue="{AppPath}/images"
tags="Hidden" >
<parameterEntry
type="ProviderPath"
scope="setAcl"
match="catalog/images$" />
</parameter>
<parameter name="SetAclParameter4"
description="Sets the ACL on the graphs folder"
defaultValue="{AppPath}/admin/images/graphs"
tags="Hidden" >
<parameterEntry
type="ProviderPath"
scope="setAcl"
match="catalog/admin/images/graphs$" />
</parameter>
<parameter name="SetAclParameter5"
description="Sets the ACL on the backups folder"
defaultValue="{AppPath}/admin/backups"
tags="Hidden" >
<parameterEntry
type="ProviderPath"
scope="setAcl"
match="catalog/admin/backups$" />
</parameter>
<parameter name="SetAclParameter6"
description="Sets the ACL on the work folder for temp files"
defaultValue="{AppPath}/includes/work"
tags="Hidden" >
<parameterEntry
type="ProviderPath"
scope="setAcl"
match="catalog/includes/work$" />
</parameter>
<parameter name="DatabaseServer"
description="Enter the address of the database server in the form of a hostname or IP address."
defaultValue="localhost"
tags="MySQL, dbServer" >
<parameterEntry
type="TextFile"
scope="extras/mysql_setup.sql"
match="PlaceHolderForServer" />
</parameter>
<parameter name="DatabaseName"
description="Enter database name for your application. Please note database name must start with a letter and must be in lowercase. You can also use numerals and underscore (_)."
defaultValue="oscommerce"
tags="MySQL, dbName" >
<!-- This Regular expression ensures that Database name can be alphanumeric and allows _ character -->
<parameterValidation type = "RegularExpression" validationString = "^[a-z0-9_]+$" />
<parameterEntry
type="TextFile"
scope="extras/mysql_setup.sql"
match="PlaceHolderForDb" />
</parameter>
<parameter name="DatabaseAdministrator"
description="Enter the MySQL Administrator username. This is usually root."
defaultValue="root"
tags="MySQL, DbAdminUsername" >
</parameter>
<parameter name="DatabaseAdministratorPassword"
description="Enter MySQL Database administrator password"
tags="Password, MySQL, DbAdminPassword" >
</parameter>
<parameter name="Database Username"
description="Enter username to access your application's database."
defaultValue="oscuser"
tags="MySQL, DbUsername">
<!-- This Regular expression ensures that Username can be alphanumeric and allows _ character -->
<parameterValidation type = "RegularExpression" validationString = "^[a-z0-9_]+$" />
<parameterEntry
type="TextFile"
scope="extras/mysql_setup.sql"
match="PlaceHolderForUser" />
</parameter>
<parameter name="Database Password"
description="Enter the password for your application's database (minimum 4 characters)."
tags="New, Password, MySQL, DbUserPassword">
<!-- This regular expressions checks for a string with minimum length of 4 characters -->
<parameterValidation
type="RegularExpression"
validationString="^(.){4,}$" />
<parameterEntry
type="TextFile"
scope="install.sql"
match="PlaceHolderForPassword" />
</parameter>
<parameter name="ConnectionString"
description="Automatically sets the connection string for the connection request."
defaultValue="Server={DatabaseServer};Database={DatabaseName};uid={DatabaseAdministrator};Pwd={DatabaseAdministratorPassword};"
tags="Hidden,MySQLConnectionString,validate" >
<parameterEntry
type="ProviderPath"
scope="dbmysql"
match="extras/mysql_setup.sql" />
</parameter>
</parameters>