Legend:
- Unmodified
- Added
- Removed
-
trunk/CGI.lpi
r55 r57 55 55 <IsPartOfProject Value="True"/> 56 56 <UnitName Value="CGI"/> 57 <EditorIndex Value="0"/>58 57 <WindowIndex Value="0"/> 59 58 <TopLine Value="5"/> 60 59 <CursorPos X="36" Y="8"/> 61 60 <UsageCount Value="203"/> 62 <Loaded Value="True"/>63 61 <DefaultSyntaxHighlighter Value="Delphi"/> 64 62 </Unit0> … … 90 88 <IsPartOfProject Value="True"/> 91 89 <UnitName Value="UCore"/> 92 <EditorIndex Value="5"/> 93 <WindowIndex Value="0"/> 94 <TopLine Value="16"/> 95 <CursorPos X="39" Y="41"/> 90 <IsVisibleTab Value="True"/> 91 <EditorIndex Value="4"/> 92 <WindowIndex Value="0"/> 93 <TopLine Value="1"/> 94 <CursorPos X="15" Y="23"/> 96 95 <UsageCount Value="203"/> 97 96 <Loaded Value="True"/> … … 591 590 <Filename Value="../../PascalClassLibrary/Network/CoolWeb/WebServer/UHTTPServer.pas"/> 592 591 <UnitName Value="UHTTPServer"/> 593 <EditorIndex Value=" 4"/>592 <EditorIndex Value="3"/> 594 593 <WindowIndex Value="0"/> 595 594 <TopLine Value="379"/> … … 601 600 <Filename Value="../../PascalClassLibrary/Network/CoolWeb/WebServer/UHTTPServerCGI.pas"/> 602 601 <UnitName Value="UHTTPServerCGI"/> 603 <EditorIndex Value=" 6"/>602 <EditorIndex Value="5"/> 604 603 <WindowIndex Value="0"/> 605 604 <TopLine Value="1"/> … … 709 708 <ResourceBaseClass Value="DataModule"/> 710 709 <UnitName Value="UMainModule"/> 711 <EditorIndex Value=" 2"/>712 <WindowIndex Value="0"/> 713 <TopLine Value=" 233"/>710 <EditorIndex Value="1"/> 711 <WindowIndex Value="0"/> 712 <TopLine Value="45"/> 714 713 <CursorPos X="1" Y="261"/> 715 714 <UsageCount Value="50"/> … … 771 770 <ResourceBaseClass Value="DataModule"/> 772 771 <UnitName Value="UWebPage"/> 773 <EditorIndex Value=" 8"/>772 <EditorIndex Value="7"/> 774 773 <WindowIndex Value="0"/> 775 774 <TopLine Value="1"/> … … 863 862 <Filename Value="../../PascalClassLibrary/Network/CoolWeb/WebServer/UWebApp.pas"/> 864 863 <UnitName Value="UWebApp"/> 865 <EditorIndex Value=" 7"/>864 <EditorIndex Value="6"/> 866 865 <WindowIndex Value="0"/> 867 866 <TopLine Value="101"/> … … 873 872 <Filename Value="/usr/share/fpcsrc/2.4.2/packages/fcl-base/src/custapp.pp"/> 874 873 <UnitName Value="CustApp"/> 875 <EditorIndex Value=" 1"/>874 <EditorIndex Value="0"/> 876 875 <WindowIndex Value="0"/> 877 876 <TopLine Value="49"/> … … 1016 1015 <ResourceBaseClass Value="DataModule"/> 1017 1016 <UnitName Value="UWebCamPage"/> 1018 <IsVisibleTab Value="True"/> 1019 <EditorIndex Value="3"/> 1017 <EditorIndex Value="2"/> 1020 1018 <WindowIndex Value="0"/> 1021 1019 <TopLine Value="26"/> … … 1148 1146 </Unit121> 1149 1147 </Units> 1150 <JumpHistory Count=" 30" HistoryIndex="29">1148 <JumpHistory Count="21" HistoryIndex="20"> 1151 1149 <Position1> 1152 <Filename Value=" CGI.lpr"/>1153 <Caret Line=" 20" Column="1" TopLine="3"/>1150 <Filename Value="Pages/UWebCamPage.pas"/> 1151 <Caret Line="59" Column="1" TopLine="26"/> 1154 1152 </Position1> 1155 1153 <Position2> 1156 <Filename Value=" CGI.lpr"/>1157 <Caret Line=" 21" Column="1" TopLine="3"/>1154 <Filename Value="../../PascalClassLibrary/Network/CoolWeb/WebServer/UHTTPServer.pas"/> 1155 <Caret Line="175" Column="1" TopLine="158"/> 1158 1156 </Position2> 1159 1157 <Position3> 1160 <Filename Value=" CGI.lpr"/>1161 <Caret Line=" 22" Column="1" TopLine="3"/>1158 <Filename Value="Pages/UWebCamPage.pas"/> 1159 <Caret Line="43" Column="1" TopLine="26"/> 1162 1160 </Position3> 1163 1161 <Position4> 1164 <Filename Value=" CGI.lpr"/>1165 <Caret Line=" 23" Column="1" TopLine="3"/>1162 <Filename Value="../../PascalClassLibrary/Network/CoolWeb/WebServer/UWebApp.pas"/> 1163 <Caret Line="109" Column="1" TopLine="83"/> 1166 1164 </Position4> 1167 1165 <Position5> 1168 <Filename Value=" CGI.lpr"/>1169 <Caret Line=" 24" Column="1" TopLine="3"/>1166 <Filename Value="../../PascalClassLibrary/Network/CoolWeb/WebServer/UHTTPServerCGI.pas"/> 1167 <Caret Line="14" Column="31" TopLine="1"/> 1170 1168 </Position5> 1171 1169 <Position6> 1172 <Filename Value=" CGI.lpr"/>1173 <Caret Line=" 25" Column="1" TopLine="3"/>1170 <Filename Value="../../PascalClassLibrary/Network/CoolWeb/WebServer/UWebApp.pas"/> 1171 <Caret Line="114" Column="18" TopLine="107"/> 1174 1172 </Position6> 1175 1173 <Position7> 1176 <Filename Value=" CGI.lpr"/>1177 <Caret Line="2 6" Column="1" TopLine="3"/>1174 <Filename Value="../../PascalClassLibrary/Network/CoolWeb/WebServer/UWebApp.pas"/> 1175 <Caret Line="25" Column="25" TopLine="8"/> 1178 1176 </Position7> 1179 1177 <Position8> 1180 <Filename Value=" CGI.lpr"/>1181 <Caret Line=" 27" Column="1" TopLine="3"/>1178 <Filename Value="../../PascalClassLibrary/Network/CoolWeb/WebServer/UWebApp.pas"/> 1179 <Caret Line="34" Column="15" TopLine="8"/> 1182 1180 </Position8> 1183 1181 <Position9> 1184 <Filename Value=" CGI.lpr"/>1185 <Caret Line=" 28" Column="1" TopLine="3"/>1182 <Filename Value="../../PascalClassLibrary/Network/CoolWeb/WebServer/UWebApp.pas"/> 1183 <Caret Line="119" Column="32" TopLine="113"/> 1186 1184 </Position9> 1187 1185 <Position10> 1188 <Filename Value=" CGI.lpr"/>1189 <Caret Line=" 29" Column="1" TopLine="3"/>1186 <Filename Value="../../PascalClassLibrary/Network/CoolWeb/WebServer/UHTTPServerCGI.pas"/> 1187 <Caret Line="14" Column="31" TopLine="1"/> 1190 1188 </Position10> 1191 1189 <Position11> 1192 <Filename Value=" CGI.lpr"/>1193 <Caret Line=" 30" Column="1" TopLine="3"/>1190 <Filename Value="../../PascalClassLibrary/Network/CoolWeb/WebServer/UHTTPServerCGI.pas"/> 1191 <Caret Line="17" Column="16" TopLine="1"/> 1194 1192 </Position11> 1195 1193 <Position12> 1196 <Filename Value=" CGI.lpr"/>1197 <Caret Line=" 31" Column="1" TopLine="3"/>1194 <Filename Value="../../PascalClassLibrary/Network/CoolWeb/WebServer/UWebApp.pas"/> 1195 <Caret Line="25" Column="27" TopLine="9"/> 1198 1196 </Position12> 1199 1197 <Position13> 1200 <Filename Value=" CGI.lpr"/>1201 <Caret Line="3 3" Column="1" TopLine="5"/>1198 <Filename Value="../../PascalClassLibrary/Network/CoolWeb/WebServer/UWebApp.pas"/> 1199 <Caret Line="34" Column="53" TopLine="9"/> 1202 1200 </Position13> 1203 1201 <Position14> 1204 <Filename Value=" Pages/UWebCamPage.pas"/>1205 <Caret Line=" 59" Column="1" TopLine="26"/>1202 <Filename Value="../../PascalClassLibrary/Network/CoolWeb/WebServer/UHTTPServerCGI.pas"/> 1203 <Caret Line="14" Column="34" TopLine="1"/> 1206 1204 </Position14> 1207 1205 <Position15> 1208 <Filename Value="../../PascalClassLibrary/Network/CoolWeb/WebServer/U HTTPServer.pas"/>1209 <Caret Line="1 75" Column="1" TopLine="158"/>1206 <Filename Value="../../PascalClassLibrary/Network/CoolWeb/WebServer/UWebApp.pas"/> 1207 <Caret Line="118" Column="17" TopLine="113"/> 1210 1208 </Position15> 1211 1209 <Position16> 1212 <Filename Value=" Pages/UWebCamPage.pas"/>1213 <Caret Line=" 43" Column="1" TopLine="26"/>1210 <Filename Value="../../PascalClassLibrary/Network/CoolWeb/WebServer/UWebApp.pas"/> 1211 <Caret Line="115" Column="38" TopLine="113"/> 1214 1212 </Position16> 1215 1213 <Position17> 1216 1214 <Filename Value="../../PascalClassLibrary/Network/CoolWeb/WebServer/UWebApp.pas"/> 1217 <Caret Line="1 09" Column="1" TopLine="83"/>1215 <Caret Line="120" Column="70" TopLine="103"/> 1218 1216 </Position17> 1219 1217 <Position18> 1220 <Filename Value=" ../../PascalClassLibrary/Network/CoolWeb/WebServer/UHTTPServerCGI.pas"/>1221 <Caret Line=" 14" Column="31" TopLine="1"/>1218 <Filename Value="UCore.pas"/> 1219 <Caret Line="41" Column="39" TopLine="16"/> 1222 1220 </Position18> 1223 1221 <Position19> 1224 <Filename Value=" ../../PascalClassLibrary/Network/CoolWeb/WebServer/UWebApp.pas"/>1225 <Caret Line=" 114" Column="18" TopLine="107"/>1222 <Filename Value="UCore.pas"/> 1223 <Caret Line="22" Column="1" TopLine="6"/> 1226 1224 </Position19> 1227 1225 <Position20> 1228 <Filename Value=" ../../PascalClassLibrary/Network/CoolWeb/WebServer/UWebApp.pas"/>1229 <Caret Line=" 25" Column="25" TopLine="8"/>1226 <Filename Value="UCore.pas"/> 1227 <Caret Line="96" Column="25" TopLine="79"/> 1230 1228 </Position20> 1231 1229 <Position21> 1232 <Filename Value=" ../../PascalClassLibrary/Network/CoolWeb/WebServer/UWebApp.pas"/>1233 <Caret Line=" 34" Column="15" TopLine="8"/>1230 <Filename Value="UCore.pas"/> 1231 <Caret Line="11" Column="24" TopLine="1"/> 1234 1232 </Position21> 1235 <Position22>1236 <Filename Value="../../PascalClassLibrary/Network/CoolWeb/WebServer/UWebApp.pas"/>1237 <Caret Line="119" Column="32" TopLine="113"/>1238 </Position22>1239 <Position23>1240 <Filename Value="../../PascalClassLibrary/Network/CoolWeb/WebServer/UHTTPServerCGI.pas"/>1241 <Caret Line="14" Column="31" TopLine="1"/>1242 </Position23>1243 <Position24>1244 <Filename Value="../../PascalClassLibrary/Network/CoolWeb/WebServer/UHTTPServerCGI.pas"/>1245 <Caret Line="17" Column="16" TopLine="1"/>1246 </Position24>1247 <Position25>1248 <Filename Value="../../PascalClassLibrary/Network/CoolWeb/WebServer/UWebApp.pas"/>1249 <Caret Line="25" Column="27" TopLine="9"/>1250 </Position25>1251 <Position26>1252 <Filename Value="../../PascalClassLibrary/Network/CoolWeb/WebServer/UWebApp.pas"/>1253 <Caret Line="34" Column="53" TopLine="9"/>1254 </Position26>1255 <Position27>1256 <Filename Value="../../PascalClassLibrary/Network/CoolWeb/WebServer/UHTTPServerCGI.pas"/>1257 <Caret Line="14" Column="34" TopLine="1"/>1258 </Position27>1259 <Position28>1260 <Filename Value="../../PascalClassLibrary/Network/CoolWeb/WebServer/UWebApp.pas"/>1261 <Caret Line="118" Column="17" TopLine="113"/>1262 </Position28>1263 <Position29>1264 <Filename Value="../../PascalClassLibrary/Network/CoolWeb/WebServer/UWebApp.pas"/>1265 <Caret Line="115" Column="38" TopLine="113"/>1266 </Position29>1267 <Position30>1268 <Filename Value="../../PascalClassLibrary/Network/CoolWeb/WebServer/UWebApp.pas"/>1269 <Caret Line="120" Column="70" TopLine="103"/>1270 </Position30>1271 1233 </JumpHistory> 1272 1234 </ProjectOptions> … … 1310 1272 </CompilerOptions> 1311 1273 <Debugging> 1312 <BreakPoints Count=" 2">1274 <BreakPoints Count="1"> 1313 1275 <Item1> 1314 1276 <Kind Value="bpkSource"/> … … 1316 1278 <Line Value="91"/> 1317 1279 </Item1> 1318 <Item2>1319 <Kind Value="bpkSource"/>1320 <Source Value="Pages/UWebCamPage.pas"/>1321 <Line Value="43"/>1322 </Item2>1323 1280 </BreakPoints> 1324 1281 </Debugging> -
trunk/UCore.pas
r45 r57 20 20 implementation 21 21 22 uses 23 U Config;22 uses 23 UMainModule; 24 24 25 25 function HtmlLink(Text, Target: string): string; … … 97 97 begin 98 98 if (Length(URL) > 0) and (URL[1] = '/') then 99 Result := Config.BaseURL + URL99 Result := MainModule.BaseURL + URL 100 100 else Result := URL; 101 101 end;
Note:
See TracChangeset
for help on using the changeset viewer.