Annotation of parser3/src/www/parser3root_debug.conf, revision 1.2
1.1 parser 1: @auto[]
2: $SQL[
3: $.drivers[^table::set{protocol driver client
4: mysql d:\y\parser3project\mysql\debug\parser3mysql.dll d:\Y\parser3project\win32mysql\lib\debug\libmySQL.dll
5: odbc d:\y\parser3project\odbc\Debug\parser3odbc.dll
6: pgsql d:\y\parser3project\pgsql\Debug\parser3pgsql.dll d:\y\parser3project\win32pgsql\lib\release\libpq.dll
7: oracle d:\Y\parser3project\oracle\Debug\parser3oracle.dll D:\Oracle\Ora2000\BIN\oci.dll
8: }]
9: ]
10:
11:
12: $user-html[^table::set{user html comment
1.2 ! parser 13: << «^; длинные user вперёд
1.1 parser 14: >> »^;
1.2 ! parser 15: \n\n <p> !эти есть в таблице по умолчанию
! 16: \n <br> !но т.к. заменяем, надо повторить.
! 17: < <^; !можно этим воспользоваться,
! 18: > >^; !и что-то сделать ДО обычных замен
! 19: " "^; !например из << и >>
! 20: & &^; !сделать ёлочки-кавычки.
1.1 parser 21: _  ^;
1.2 ! parser 22: ^#AB «^; windows коды ёлочек
! 23: ^#BB »^; windows коды ёлочек
1.1 parser 24: (c) ©^;
25: ^#A9 ©^; windows (c)
26: }]
27:
28: #for ^file:load[name;user-name;mime-type << autodetection]
29: $MIME-TYPES[^table::set{ext mime-type
30: zip application/zip
31: doc application/msword
32: xls application/vnd.ms-excel
33: pdf application/pdf
34: ppt application/powerpoint
35: rtf application/rtf
36: gif image/gif
37: jpg image/jpeg
38: png image/png
39: tif image/tiff
40: html text/html
41: htm text/html
42: txt text/plain
43: mts application/metastream
44: mid audio/midi
45: midi audio/midi
46: mp3 audio/mpeg
47: ram audio/x-pn-realaudio
48: rpm audio/x-pn-realaudio-plugin
49: ra audio/x-realaudio
50: wav audio/x-wav
51: au audio/basic
52: mpg video/mpeg
53: avi video/x-msvideo
54: mov video/quicktime
55: swf application/x-shockwave-flash
56: }]
57:
58: $LIMITS[
59: $.post_max_size(10*0x400*0x400)
60: ]
61: $DEFAULTS[
62: $.content-type0[text/html]
63: $.content-type[
64: $.value[text/html]
65: $.charset[windows-1251]
66: ]
67: ]
68: #for ^match{}[i]
69: $CHARSETS[
70: $.windows-1251[d:\Y\parser3project\parser3\src\www\windows-1251.cfg]
71: ]
72:
73: $MAIL[
74: $.SMTP[mail.office.design.ru]
75: # $.prog1[/usr/sbin/sendmail -t]
76: # $.prog2[/usr/lib/sendmail -t]
77: ]
78:
79: @exception[origin;source;comment;type;code][i;j]
80: <body bgcolor=white>
81: <font color=black>
82: ROOT_CONF_ERROR:
83: ^if(def $source){$origin '$source'}
84: ${comment}.
85: ^if(def $type){type=$type}
86: ^if(def $code){code=$code}
E-mail: