|
|
| version 1.124, 2001/04/28 10:58:33 | version 1.127, 2001/05/03 15:05:23 |
|---|---|
| Line 52 Request::Request(Pool& apool, | Line 52 Request::Request(Pool& apool, |
| default_content_type(0), | default_content_type(0), |
| mime_types(0), | mime_types(0), |
| main_class(0), | main_class(0), |
| connection(0), protocol2library(0), | connection(0), |
| mail(0), | pcre_tables(0), |
| pcre_tables(0) | classes_conf(apool) |
| { | { |
| /// directly used | /// directly used |
| // operators | // operators |
| Line 146 static void element2case(unsigned char * | Line 146 static void element2case(unsigned char * |
| the file user requested us to process | the file user requested us to process |
| all located classes become children of one another, | all located classes become children of one another, |
| composing class we name 'MAIN' | composing class we name 'MAIN' |
| @test move configure to M-class | |
| */ | */ |
| void Request::core(const char *root_auto_path, bool root_auto_fail, | void Request::core(const char *root_auto_path, bool root_auto_fail, |
| const char *site_auto_path, bool site_auto_fail, | const char *site_auto_path, bool site_auto_fail, |
| Line 212 void Request::core(const char *root_auto | Line 210 void Request::core(const char *root_auto |
| } | } |
| } | } |
| // compiling requested file | // compile requested file |
| String& spath_translated=*NEW String(pool()); | String& spath_translated=*NEW String(pool()); |
| spath_translated.APPEND_CLEAN(info.path_translated, 0, "user-request", 0); | spath_translated.APPEND_CLEAN(info.path_translated, 0, "user-request", 0); |
| main_class=use_file(spath_translated, true/*don't ignore read problem*/, | main_class=use_file(spath_translated, true/*don't ignore read problem*/, |
| Line 230 void Request::core(const char *root_auto | Line 228 void Request::core(const char *root_auto |
| if(Table *table=element->get_table()) | if(Table *table=element->get_table()) |
| pool().set_tag(table); | pool().set_tag(table); |
| // $MAIN:SQL.drivers | |
| if(Value *sql=main_class->get_element(*main_sql_name)) | |
| if(Value *element=sql->get_element(*main_sql_drivers_name)) | |
| protocol2library=element->get_table(); | |
| // $MAIN:MIME-TYPES | // $MAIN:MIME-TYPES |
| if(Value *element=main_class->get_element(*mime_types_name)) | if(Value *element=main_class->get_element(*mime_types_name)) |
| if(Table *table=element->get_table()) | if(Table *table=element->get_table()) |
| Line 252 void Request::core(const char *root_auto | Line 245 void Request::core(const char *root_auto |
| ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz] | ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz] |
| $word[ | $word[ |
| 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz] | 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz] |
| $meta[ | |
| ^#00$()*+.?[^{|] | |
| $lowercase[ | $lowercase[ |
| AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz] | AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz] |