Documentation TYPO3 par Ameos

config_import.lib.php

00001 <?php
00002 /* $Id: config_import.lib.php,v 2.50 2005/08/22 21:41:20 nijel Exp $ */
00003 // vim: expandtab sw=4 ts=4 sts=4:
00004 
00005 
00049 if (!isset($cfg['PmaAbsoluteUri'])) {
00050     if (isset($cfgPmaAbsoluteUri)) {
00051         $cfg['PmaAbsoluteUri'] = $cfgPmaAbsoluteUri;
00052         unset($cfgPmaAbsoluteUri);
00053     } else {
00054         $cfg['PmaAbsoluteUri'] = '';
00055     }
00056 }
00057 
00058 if (!isset($cfg['PmaAbsoluteUri_DisableWarning'])) {
00059     $cfg['PmaAbsoluteUri_DisableWarning'] = FALSE;
00060 }
00061 
00062 if (!isset($cfg['PmaNoRelation_DisableWarning'])) {
00063     $cfg['PmaNoRelation_DisableWarning'] = FALSE;
00064 }
00065 
00066 // do not set a default value here!
00067 if (!isset($cfg['blowfish_secret'])) {
00068     $cfg['blowfish_secret'] = '';
00069 }
00070 
00071 if (!isset($cfg['Servers'])) {
00072     if (isset($cfgServers)) {
00073         $cfg['Servers'] = $cfgServers;
00074         unset($cfgServers);
00075     } else {
00076     $server = 0;
00077     }
00078 }
00079 
00080 if (isset($cfg['Servers'])) {
00081     for ($i=1; (!empty($cfg['Servers'][$i]['host']) || (isset($cfg['Servers'][$i]['connect_type']) && $cfg['Servers'][$i]['connect_type'] == 'socket')); $i++) {
00082         if (!isset($cfg['Servers'][$i]['host'])) {
00083             $cfg['Servers'][$i]['host'] = '';
00084         }
00085         if (!isset($cfg['Servers'][$i]['port'])) {
00086             $cfg['Servers'][$i]['port'] = '';
00087         }
00088 
00089         if (!isset($cfg['Servers'][$i]['socket'])) {
00090             $cfg['Servers'][$i]['socket'] = '';
00091         }
00092 
00093         if (!isset($cfg['Servers'][$i]['connect_type'])) {
00094             $cfg['Servers'][$i]['connect_type'] = 'tcp';
00095         }
00096 
00097         if (!isset($cfg['Servers'][$i]['extension'])) {
00098             $cfg['Servers'][$i]['extension'] = 'mysql';
00099         }
00100 
00101         if (!isset($cfg['Servers'][$i]['controluser']) && isset($cfg['Servers'][$i]['stduser'])) {
00102             $cfg['Servers'][$i]['controluser'] = $cfg['Servers'][$i]['stduser'];
00103             $cfg['Servers'][$i]['controlpass'] = $cfg['Servers'][$i]['stdpass'];
00104             unset($cfg['Servers'][$i]['stduser'], $cfg['Servers'][$i]['stdpass']);
00105         } else if (!isset($cfg['Servers'][$i]['controluser'])) {
00106             $cfg['Servers'][$i]['controluser'] = $cfg['Servers'][$i]['controlpass'] = '';
00107         }
00108 
00109         if (!isset($cfg['Servers'][$i]['auth_type'])) {
00110             $cfg['Servers'][$i]['auth_type']  = (isset($cfg['Servers'][$i]['adv_auth']) && $cfg['Servers'][$i]['adv_auth'])
00111                                          ? 'http'
00112                                          : 'config';
00113             unset($cfg['Servers'][$i]['adv_auth']);
00114         }
00115 
00116         // for users who use the "first" blowfish mechanism
00117         if (isset($cfg['Servers'][$i]['blowfish_secret'])) {
00118             if (empty($cfg['blowfish_secret'])) {
00119                 $cfg['blowfish_secret'] = $cfg['Servers'][$i]['blowfish_secret'];
00120             }
00121             unset($cfg['Servers'][$i]['blowfish_secret']);
00122         }
00123 
00124         if (!isset($cfg['Servers'][$i]['compress'])) {
00125             $cfg['Servers'][$i]['compress'] = FALSE;
00126         }
00127 
00128         if (!isset($cfg['Servers'][$i]['user'])) {
00129             $cfg['Servers'][$i]['user'] = 'root';
00130         }
00131 
00132         if (!isset($cfg['Servers'][$i]['password'])) {
00133             $cfg['Servers'][$i]['password'] = '';
00134         }
00135 
00136         if (!isset($cfg['Servers'][$i]['only_db'])) {
00137             $cfg['Servers'][$i]['only_db'] = '';
00138         }
00139 
00140         if (!isset($cfg['Servers'][$i]['verbose'])) {
00141             $cfg['Servers'][$i]['verbose'] = '';
00142         }
00143 
00144         if (!isset($cfg['Servers'][$i]['pmadb'])) {
00145             if (isset($cfg['Servers'][$i]['bookmarkdb'])) {
00146                 $cfg['Servers'][$i]['pmadb'] = $cfg['Servers'][$i]['bookmarkdb'];
00147                 unset($cfg['Servers'][$i]['bookmarkdb']);
00148             } else {
00149                 $cfg['Servers'][$i]['pmadb'] = '';
00150             }
00151         }
00152 
00153         if (!isset($cfg['Servers'][$i]['bookmarktable'])) {
00154             $cfg['Servers'][$i]['bookmarktable'] = '';
00155         }
00156 
00157         if (!isset($cfg['Servers'][$i]['relation'])) {
00158             $cfg['Servers'][$i]['relation'] = '';
00159         }
00160 
00161         if (!isset($cfg['Servers'][$i]['table_info'])) {
00162             $cfg['Servers'][$i]['table_info'] = '';
00163         }
00164 
00165         if (!isset($cfg['Servers'][$i]['table_coords'])) {
00166             $cfg['Servers'][$i]['table_coords'] = '';
00167         }
00168 
00169         if (!isset($cfg['Servers'][$i]['column_info'])) {
00170             if (isset($cfg['Servers'][$i]['column_comments'])) {
00171                 $cfg['Servers'][$i]['column_info'] = $cfg['Servers'][$i]['column_comments'];
00172                 unset($cfg['Servers'][$i]['column_comments']);
00173             } else {
00174                 $cfg['Servers'][$i]['column_info'] = '';
00175             }
00176         }
00177 
00178         if (!isset($cfg['Servers'][$i]['pdf_pages'])) {
00179             $cfg['Servers'][$i]['pdf_pages'] = '';
00180         }
00181 
00182         if (!isset($cfg['Servers'][$i]['history'])) {
00183             $cfg['Servers'][$i]['history'] = '';
00184         }
00185 
00186         if (!isset($cfg['Servers'][$i]['verbose_check'])) {
00187             $cfg['Servers'][$i]['verbose_check'] = TRUE;
00188         }
00189 
00190         if (!isset($cfg['Servers'][$i]['AllowRoot'])) {
00191             $cfg['Servers'][$i]['AllowRoot'] = TRUE;
00192         }
00193 
00194         if (!isset($cfg['Servers'][$i]['AllowDeny'])) {
00195             $cfg['Servers'][$i]['AllowDeny'] = array ('order' => '',
00196                                                       'rules' => array());
00197         }
00198     }
00199 }
00200 
00201 if (!isset($cfg['ServerDefault'])) {
00202     if (isset($cfgServerDefault)) {
00203         $cfg['ServerDefault'] = $cfgServerDefault;
00204         unset($cfgServerDefault);
00205     } else {
00206         $cfg['ServerDefault'] = 1;
00207     }
00208 }
00209 
00210 if (!isset($cfg['OBGzip'])) {
00211     if (isset($cfgOBGzip)) {
00212         $cfg['OBGzip'] = $cfgOBGzip;
00213         unset($cfgOBGzip);
00214     } else {
00215         $cfg['OBGzip'] = 'auto';
00216     }
00217 }
00218 
00219 if (!isset($cfg['PersistentConnections'])) {
00220     if (isset($cfgPersistentConnections)) {
00221         $cfg['PersistentConnections'] = $cfgPersistentConnections;
00222         unset($cfgPersistentConnections);
00223     } else {
00224         $cfg['PersistentConnections'] = FALSE;
00225     }
00226 }
00227 
00228 if (!isset($cfg['ExecTimeLimit'])) {
00229     if (isset($cfgExecTimeLimit)) {
00230         $cfg['ExecTimeLimit'] = $cfgExecTimeLimit;
00231         unset($cfgExecTimeLimit);
00232     } else {
00233         $cfg['ExecTimeLimit'] = 300;
00234     }
00235 }
00236 
00237 if (!isset($cfg['SkipLockedTables'])) {
00238     if (isset($cfgSkipLockedTables)) {
00239         $cfg['SkipLockedTables'] = $cfgSkipLockedTables;
00240         unset($cfgSkipLockedTables);
00241     } else {
00242         $cfg['SkipLockedTables'] = FALSE;
00243     }
00244 }
00245 
00246 if (!isset($cfg['ShowSQL'])) {
00247     if (isset($cfgShowSQL)) {
00248         $cfg['ShowSQL'] = $cfgShowSQL;
00249         unset($cfgShowSQL);
00250     } else {
00251         $cfg['ShowSQL'] = TRUE;
00252     }
00253 }
00254 
00255 if (!isset($cfg['AllowUserDropDatabase'])) {
00256     if (isset($cfgAllowUserDropDatabase)) {
00257         $cfg['AllowUserDropDatabase'] = $cfgAllowUserDropDatabase;
00258         unset($cfgAllowUserDropDatabase);
00259     } else {
00260         $cfg['AllowUserDropDatabase'] = FALSE;
00261     }
00262 }
00263 
00264 if (!isset($cfg['Confirm'])) {
00265     if (isset($cfgConfirm)) {
00266         $cfg['Confirm'] = $cfgConfirm;
00267         unset($cfgConfirm);
00268     } else {
00269         $cfg['Confirm'] = TRUE;
00270     }
00271 }
00272 
00273 if (!isset($cfg['LoginCookieRecall'])) {
00274     if (isset($cfgLoginCookieRecall)) {
00275         $cfg['LoginCookieRecall'] = $cfgLoginCookieRecall;
00276         unset($cfgLoginCookieRecall);
00277     } else {
00278         $cfg['LoginCookieRecall'] = TRUE;
00279     }
00280 }
00281 
00282 if (!isset($cfg['LoginCookieValidity'])) {
00283     $cfg['LoginCookieValidity'] = 1800;
00284 }
00285 
00286 if (!isset($cfg['UseDbSearch'])) {
00287     $cfg['UseDbSearch'] = TRUE;
00288 }
00289 
00290 if (!isset($cfg['IgnoreMultiSubmitErrors'])) {
00291     $cfg['IgnoreMultiSubmitErrors'] = FALSE;
00292 }
00293 
00294 if (!isset($cfg['VerboseMultiSubmit'])) {
00295     $cfg['VerboseMultiSubmit'] = TRUE;
00296 }
00297 
00298 if (!isset($cfg['AllowArbitraryServer'])) {
00299     $cfg['AllowArbitraryServer'] = FALSE;
00300 }
00301 
00302 if (!isset($cfg['LeftFrameLight'])) {
00303     if (isset($cfgLeftFrameLight)) {
00304         $cfg['LeftFrameLight'] = $cfgLeftFrameLight;
00305         unset($cfgLeftFrameLight);
00306     } else {
00307         $cfg['LeftFrameLight'] = TRUE;
00308     }
00309 }
00310 
00311 if (!isset($cfg['LeftFrameDBTree'])) {
00312     $cfg['LeftFrameDBTree'] = TRUE;
00313 }
00314 
00315 if (!isset($cfg['LeftFrameDBSeparator'])) {
00316     $cfg['LeftFrameDBSeparator'] = '_';
00317 }
00318 
00319 if (!isset($cfg['LeftFrameTableSeparator'])) {
00320     $cfg['LeftFrameTableSeparator'] = '__';
00321 }
00322 
00323 if (!isset($cfg['LeftFrameTableLevel'])) {
00324     $cfg['LeftFrameTableLevel'] = '1';
00325 }
00326 
00327 if (!isset($cfg['LightTabs'])) {
00328     $cfg['LightTabs'] = FALSE;
00329 }
00330 
00331 if (!isset($cfg['PropertiesIconic'])) {
00332     $cfg['PropertiesIconic'] = TRUE;
00333 }
00334 
00335 if (!isset($cfg['PropertiesNumColumns'])) {
00336     $cfg['PropertiesNumColumns'] = 1;
00337 }
00338 
00339 if (!isset($cfg['ShowTooltip'])) {
00340     if (isset($cfgShowTooltip)) {
00341         $cfg['ShowTooltip'] = $cfgShowTooltip;
00342     } else {
00343         $cfg['ShowTooltip'] = TRUE;
00344     }
00345 }
00346 
00347 if (!isset($cfg['LeftDisplayLogo'])) {
00348     $cfg['LeftDisplayLogo'] = TRUE;
00349 }
00350 
00351 if (!isset($cfg['LeftDisplayServers'])) {
00352     $cfg['LeftDisplayServers'] = FALSE;
00353 }
00354 
00355 if (!isset($cfg['DisplayServersList'])) {
00356     if (isset($cfg['LeftisplayServersList'])) {
00357         $cfg['DisplayServersList'] = $cfg['LeftDisplayServersList'];
00358     } else {
00359         $cfg['DisplayServersList'] = FALSE;
00360     }
00361 }
00362 
00363 if (!isset($cfg['ShowStats'])) {
00364     if (isset($cfgShowStats)) {
00365         $cfg['ShowStats'] = $cfgShowStats;
00366         unset($cfgShowStats);
00367     } else {
00368         $cfg['ShowStats'] = TRUE;
00369     }
00370 }
00371 
00372 if (!isset($cfg['ShowMysqlInfo'])) {
00373     if (isset($cfgShowMysqlInfo)) {
00374         $cfg['ShowMysqlInfo'] = $cfgShowMysqlInfo;
00375         unset($cfgShowMysqlInfo);
00376     } else {
00377         $cfg['ShowMysqlInfo'] = FALSE;
00378     }
00379 }
00380 
00381 if (!isset($cfg['ShowMysqlVars'])) {
00382     if (isset($cfgShowMysqlVars)) {
00383         $cfg['ShowMysqlVars'] = $cfgShowMysqlVars;
00384         unset($cfgShowMysqlVars);
00385     } else {
00386         $cfg['ShowMysqlVars'] = FALSE;
00387     }
00388 }
00389 
00390 if (!isset($cfg['ShowPhpInfo'])) {
00391     if (isset($cfgShowPhpInfo)) {
00392         $cfg['ShowPhpInfo'] = $cfgShowPhpInfo;
00393         unset($cfgShowPhpInfo);
00394     } else {
00395         $cfg['ShowPhpInfo'] = FALSE;
00396     }
00397 }
00398 
00399 if (!isset($cfg['ShowChgPassword'])) {
00400     if (isset($cfgShowChgPassword)) {
00401         $cfg['ShowChgPassword'] = $cfgShowChgPassword;
00402         unset($cfgShowChgPassword);
00403     } else {
00404         $cfg['ShowChgPassword'] = FALSE;
00405     }
00406 }
00407 
00408 if (!isset($cfg['SuggestDBName'])) {
00409     $cfg['SuggestDBName'] = TRUE;
00410 }
00411 
00412 if (!isset($cfg['ShowBlob'])) {
00413     if (isset($cfgShowBlob)) {
00414         $cfg['ShowBlob'] = $cfgShowBlob;
00415         unset($cfgShowBlob);
00416     } else {
00417         $cfg['ShowBlob'] = FALSE;
00418     }
00419 }
00420 
00421 if (!isset($cfg['NavigationBarIconic'])) {
00422     if (isset($cfgNavigationBarIconic)) {
00423         $cfg['NavigationBarIconic'] = $cfgNavigationBarIconic;
00424         unset($cfgNavigationBarIconic);
00425     } else {
00426         $cfg['NavigationBarIconic'] = 'both';
00427     }
00428 }
00429 
00430 if (!isset($cfg['ShowAll'])) {
00431     if (isset($cfgShowAll)) {
00432         $cfg['ShowAll'] = $cfgShowAll;
00433         unset($cfgShowAll);
00434     } else {
00435         $cfg['ShowAll'] = FALSE;
00436     }
00437 }
00438 
00439 if (!isset($cfg['MaxRows'])) {
00440     if (isset($cfgMaxRows)) {
00441         $cfg['MaxRows'] = $cfgMaxRows;
00442         unset($cfgMaxRows);
00443     } else {
00444         $cfg['MaxRows'] = 30;
00445     }
00446 }
00447 
00448 if (!isset($cfg['Order'])) {
00449     if (isset($cfgOrder)) {
00450         $cfg['Order'] = $cfgOrder;
00451         unset($cfgOrder);
00452     } else {
00453         $cfg['Order'] = 'ASC';
00454     }
00455 }
00456 
00457 if (!isset($cfg['ProtectBinary'])) {
00458     if (isset($cfgProtectBinary)) {
00459         $cfg['ProtectBinary'] = $cfgProtectBinary;
00460         unset($cfgProtectBinary);
00461     } else if (isset($cfg['ProtectBlob'])) {
00462         $cfg['ProtectBinary']   = ($cfg['ProtectBlob'] ? 'blob' : FALSE);
00463         unset($cfg['ProtectBlob']);
00464     } else if (isset($cfgProtectBlob)) {
00465         $cfg['ProtectBinary']   = ($cfgProtectBlob ? 'blob' : FALSE);
00466         unset($cfgProtectBlob);
00467     } else {
00468         $cfg['ProtectBinary']   = 'blob';
00469     }
00470 }
00471 
00472 if (!isset($cfg['ShowFunctionFields'])) {
00473     if (isset($cfgShowFunctionFields)) {
00474         $cfg['ShowFunctionFields'] = $cfgShowFunctionFields;
00475         unset($cfgShowFunctionFields);
00476     } else {
00477         $cfg['ShowFunctionFields'] = TRUE;
00478     }
00479 }
00480 
00481 if (!isset($cfg['CharEditing'])) {
00482     $cfg['CharEditing'] = 'input';
00483 }
00484 
00485 if (!isset($cfg['InsertRows'])) {
00486     $cfg['InsertRows'] = 2;
00487 }
00488 
00489 if (!isset($cfg['ForeignKeyDropdownOrder'])) {
00490     $cfg['ForeignKeyDropdownOrder'] = array( 'content-id', 'id-content');
00491 }
00492 
00493 if (!isset($cfg['ForeignKeyMaxLimit'])) {
00494     $cfg['ForeignKeyMaxLimit'] = 100;
00495 }
00496 
00497 if (!isset($cfg['ZipDump'])) {
00498     if (isset($cfgZipDump)) {
00499         $cfg['ZipDump'] = $cfgZipDump;
00500         unset($cfgZipDump);
00501     } else {
00502         $cfg['ZipDump'] = TRUE;
00503     }
00504 }
00505 
00506 if (!isset($cfg['GZipDump'])) {
00507     if (isset($cfgGZipDump)) {
00508         $cfg['GZipDump'] = $cfgGZipDump;
00509         unset($cfgGZipDump);
00510     } else {
00511         $cfg['GZipDump'] = TRUE;
00512     }
00513 }
00514 
00515 if (!isset($cfg['BZipDump'])) {
00516     if (isset($cfgBZipDump)) {
00517         $cfg['BZipDump'] = $cfgBZipDump;
00518         unset($cfgBZipDump);
00519     } else {
00520         $cfg['BZipDump'] = TRUE;
00521     }
00522 }
00523 if (!isset($cfg['CompressOnFly'])) {
00524     $cfg['CompressOnFly']         = TRUE;
00525 }
00526 
00527 if (!isset($cfg['DefaultTabServer'])) {
00528     $cfg['DefaultTabServer'] = 'main.php';
00529 }
00530 
00531 if (!isset($cfg['DefaultTabDatabase'])
00532     // rabus: config.inc.php rev. 1.112 had this default value.
00533     || $cfg['DefaultTabDatabase'] == 'Structure') {
00534     $cfg['DefaultTabDatabase'] = 'db_details_structure.php';
00535 }
00536 
00537 if (!isset($cfg['DefaultTabTable'])
00538     // rabus: config.inc.php rev. 1.112 had this default value.
00539     || $cfg['DefaultTabTable'] == 'Structure') {
00540     $cfg['DefaultTabTable'] = 'tbl_properties_structure.php';
00541 }
00542 
00543 if (!isset($cfg['MySQLManualBase'])) {
00544     if (isset($cfgManualBaseShort)) {
00545         $cfg['MySQLManualBase'] = $cfgManualBaseShort;
00546         $cfg['MySQLManualType'] = 'old';
00547         unset($cfgManualBaseShort);
00548     } else if (isset($cfg['ManualBaseShort'])) {
00549         $cfg['MySQLManualBase'] = $cfg['ManualBaseShort'];
00550         $cfg['MySQLManualType'] = 'old';
00551         unset($cfg['ManualBaseShort']);
00552     } else {
00553         $cfg['MySQLManualBase'] = 'http://dev.mysql.com/doc/mysql/en';
00554         $cfg['MySQLManualType'] = 'searchable';
00555     }
00556 }
00557 
00558 if (!isset($cfg['MySQLManualType'])) {
00559     $cfg['MySQLManualType'] = 'none';
00560 }
00561 
00562 if (!isset($cfg['DefaultLang'])) {
00563     if (isset($cfgDefaultLang)) {
00564         $cfg['DefaultLang'] = $cfgDefaultLang;
00565         unset($cfgDefaultLang);
00566     } else {
00567         $cfg['DefaultLang'] = 'en-iso-8859-1';
00568     }
00569 }
00570 
00571 if (!isset($cfg['DefaultCharset'])) {
00572     $cfg['DefaultCharset'] = 'iso-8859-1';
00573 }
00574 
00575 if (!isset($cfg['AllowAnywhereRecoding'])) {
00576     $cfg['AllowAnywhereRecoding'] = FALSE;
00577 }
00578 
00579 if (!isset($cfg['RecodingEngine'])) {
00580     $cfg['RecodingEngine'] = 'auto';
00581 }
00582 
00583 if (!isset($cfg['IconvExtraParams'])) {
00584     $cfg['IconvExtraParams'] = '';
00585 }
00586 
00587 if (!isset($cfg['Lang']) &&isset($cfgLang)) {
00588     $cfg['Lang'] = $cfgLang;
00589     unset($cfgLang);
00590 }
00591 
00592 if (!isset($cfg['LeftPointerEnable'])) {
00593     $cfg['LeftPointerEnable'] = TRUE;
00594 }
00595 
00596 if (!isset($cfg['BrowsePointerEnable'])) {
00597     $cfg['BrowsePointerEnable'] = TRUE;
00598 }
00599 
00600 
00601 if (!isset($cfg['BrowseMarkerEnable'])) {
00602     $cfg['BrowseMarkerEnable'] = TRUE;
00603 }
00604 
00605 if (!isset($cfg['TextareaCols'])) {
00606     if (isset($cfgTextareaCols)) {
00607         $cfg['TextareaCols'] = $cfgTextareaCols;
00608         unset($cfgTextareaCols);
00609     } else {
00610         $cfg['TextareaCols'] = 40;
00611     }
00612 }
00613 
00614 if (!isset($cfg['LongtextDoubleTextarea'])) {
00615     $cfg['LongtextDoubleTextarea'] = TRUE;
00616 }
00617 
00618 if (!isset($cfg['TextareaRows'])) {
00619     if (isset($cfgTextareaRows)) {
00620         $cfg['TextareaRows'] = $cfgTextareaRows;
00621         unset($cfgTextareaRows);
00622     } else {
00623         $cfg['TextareaRows'] = 7;
00624     }
00625 }
00626 
00627 if (!isset($cfg['TextareaAutoSelect'])) {
00628     $cfg['TextareaAutoSelect']  = TRUE;
00629 }
00630 
00631 if (!isset($cfg['CharTextareaCols'])) {
00632     $cfg['CharTextareaCols'] = 40;
00633 }
00634 
00635 if (!isset($cfg['CharTextareaRows'])) {
00636     $cfg['CharTextareaRows'] = 2;
00637 }
00638 
00639 if (!isset($cfg['LimitChars'])) {
00640     if (isset($cfgLimitChars)) {
00641         $cfg['LimitChars'] = $cfgLimitChars;
00642         unset($cfgLimitChars);
00643     } else {
00644         $cfg['LimitChars'] = 50;
00645     }
00646 }
00647 
00648 if (!isset($cfg['ModifyDeleteAtLeft'])) {
00649     if (isset($cfgModifyDeleteAtLeft)) {
00650         $cfg['ModifyDeleteAtLeft'] = $cfgModifyDeleteAtLeft;
00651         unset($cfgModifyDeleteAtLeft);
00652     } else {
00653         $cfg['ModifyDeleteAtLeft'] = TRUE;
00654     }
00655 }
00656 
00657 if (!isset($cfg['ModifyDeleteAtRight'])) {
00658     if (isset($cfgModifyDeleteAtRight)) {
00659         $cfg['ModifyDeleteAtRight'] = $cfgModifyDeleteAtRight;
00660         unset($cfgModifyDeleteAtRight);
00661     } else {
00662         $cfg['ModifyDeleteAtRight'] = FALSE;
00663     }
00664 }
00665 
00666 if (!isset($cfg['DefaultDisplay'])) {
00667     if (isset($cfgDefaultDisplay)) {
00668         $cfg['DefaultDisplay'] = $cfgDefaultDisplay;
00669         unset($cfgDefaultDisplay);
00670     } else {
00671         $cfg['DefaultDisplay'] = 'horizontal';
00672     }
00673 }
00674 if (!isset($cfg['DefaultPropDisplay'])) {
00675     $cfg['DefaultPropDisplay'] = 'horizontal';
00676 }
00677 
00678 if (!isset($cfg['RepeatCells'])) {
00679     if (isset($cfgRepeatCells)) {
00680         $cfg['RepeatCells'] = $cfgRepeatCells;
00681         unset($cfgRepeatCells);
00682     } else {
00683         $cfg['RepeatCells'] = 100;
00684     }
00685 }
00686 
00687 if (!isset($cfg['HeaderFlipType'])) {
00688     $cfg['HeaderFlipType'] = 'css';
00689 }
00690 
00691 if (!isset($cfg['ShowBrowseComments'])) {
00692     $cfg['ShowBrowseComments'] = TRUE;
00693 }
00694 
00695 if (!isset($cfg['ShowPropertyComments'])) {
00696     $cfg['ShowPropertyComments'] = TRUE;
00697 }
00698 
00699 if (!isset($cfg['QueryFrame'])) {
00700     $cfg['QueryFrame'] = TRUE;
00701 }
00702 
00703 if (!isset($cfg['QueryFrameJS'])) {
00704     $cfg['QueryFrameJS'] = TRUE;
00705 }
00706 
00707 if (!isset($cfg['QueryWindowWidth'])) {
00708     $cfg['QueryWindowWidth'] = 550;
00709 }
00710 
00711 if (!isset($cfg['QueryWindowHeight'])) {
00712     $cfg['QueryWindowHeight'] = 310;
00713 }
00714 
00715 if (!isset($cfg['QueryHistoryMax'])) {
00716     $cfg['QueryHistoryMax'] = 25;
00717 }
00718 
00719 if (!isset($cfg['QueryHistoryDB'])) {
00720     $cfg['QueryHistoryDB'] = FALSE;
00721 }
00722 
00723 if (!isset($cfg['QueryWindowDefTab'])) {
00724     $cfg['QueryWindowDefTab'] = 'sql';
00725 }
00726 
00727 if (!isset($cfg['BrowseMIME'])) {
00728     $cfg['BrowseMIME'] = TRUE;
00729 }
00730 
00731 if (!isset($cfg['MaxExactCount'])) {
00732     $cfg['MaxExactCount'] = 20000;
00733 }
00734 
00735 if (!isset($cfg['WYSIWYG-PDF'])) {
00736     $cfg['WYSIWYG-PDF'] = TRUE;
00737 }
00738 
00739 if (!isset($cfg['NaturalOrder'])) {
00740     $cfg['NaturalOrder'] = TRUE;
00741 }
00742 
00743 if (!isset($cfg['ShowHttpHostTitle'])) {
00744     $cfg['ShowHttpHostTitle'] = FALSE;
00745 }
00746 
00747 if (!isset($cfg['SetHttpHostTitle'])) {
00748     $cfg['SetHttpHostTitle'] = '';
00749 }
00750 
00751 if (!isset($cfg['ErrorIconic'])) {
00752     $cfg['ErrorIconic'] = TRUE;
00753 }
00754 
00755 if (!isset($cfg['MainPageIconic'])) {
00756     $cfg['MainPageIconic'] = TRUE;
00757 }
00758 
00759 if (!isset($cfg['ReplaceHelpImg'])) {
00760     $cfg['ReplaceHelpImg'] = TRUE;
00761 }
00762 
00763 if (!isset($cfg['ThemePath'])) {
00764     $cfg['ThemePath'] = './themes';
00765 }
00766 if (!isset($cfg['ThemeDefault'])){
00767     $cfg['ThemeDefault'] = 'original';
00768 }
00769 if (!isset($cfg['ThemeManager'])){
00770     $cfg['ThemeManager'] = TRUE;
00771 }
00772 
00773 if (!isset($cfg['ThemePerServer'])){
00774     $cfg['ThemePerServer'] = FALSE;
00775 }
00776 
00777 if (!isset($cfg['DefaultQueryTable'])) {
00778     $cfg['DefaultQueryTable'] = 'SELECT * FROM %t WHERE 1';
00779 }
00780 
00781 if (!isset($cfg['DefaultQueryDatabase'])) {
00782     $cfg['DefaultQueryDatabase']= '';
00783 }
00784 
00785 if (!isset($cfg['ShowTooltipAliasDB'])) {
00786     $cfg['ShowTooltipAliasDB'] = FALSE;
00787 }
00788 
00789 if (!isset($cfg['ShowTooltipAliasTB'])) {
00790     $cfg['ShowTooltipAliasTB'] = FALSE;
00791 }
00792 
00793 if (!isset($cfg['SQLQuery']['Edit'])) {
00794     $cfg['SQLQuery']['Edit'] = TRUE;
00795 }
00796 
00797 if (!isset($cfg['SQLQuery']['Explain'])) {
00798     $cfg['SQLQuery']['Explain'] = TRUE;
00799 }
00800 
00801 if (!isset($cfg['SQLQuery']['ShowAsPHP'])) {
00802     $cfg['SQLQuery']['ShowAsPHP'] = TRUE;
00803 }
00804 
00805 if (!isset($cfg['SQLQuery']['Validate'])) {
00806     $cfg['SQLQuery']['Validate'] = FALSE;
00807 }
00808 
00809 if (!isset($cfg['SQLQuery']['Refresh'])) {
00810     $cfg['SQLQuery']['Refresh'] = TRUE;
00811 }
00812 
00813 if (!isset($cfg['UploadDir'])) {
00814     $cfg['UploadDir'] = '';
00815 }
00816 
00817 if (!isset($cfg['SaveDir'])) {
00818     $cfg['SaveDir'] = '';
00819 }
00820 
00821 if (!isset($cfg['docSQLDir'])) {
00822     $cfg['docSQLDir'] = '';
00823 }
00824 
00825 if (!isset($cfg['TempDir'])) {
00826     $cfg['TempDir'] = '';
00827 }
00828 
00829 
00830 if (!isset($cfg['SQLValidator']['use'])) {
00831     $cfg['SQLValidator']['use'] = FALSE;
00832 }
00833 
00834 if (!isset($cfg['SQLValidator']['username'])) {
00835     $cfg['SQLValidator']['username'] = '';
00836 }
00837 
00838 if (!isset($cfg['SQLValidator']['password'])) {
00839     $cfg['SQLValidator']['password'] = '';
00840 }
00841 
00842 if (!isset($cfg['DBG']['enable'])) {
00843     $cfg['DBG']['enable'] = FALSE;
00844 }
00845 
00846 if (!isset($cfg['DBG']['profile']['enable'])) {
00847     $cfg['DBG']['profile']['enable'] = FALSE;
00848 }
00849 
00850 if (!isset($cfg['DBG']['profile']['threshold'])) {
00851     $cfg['DBG']['profile']['threshold'] = 0.5;
00852 }
00853 
00854 if (!isset($cfg['SQP']['fmtType'])) {
00855     $cfg['SQP']['fmtType'] = 'html';
00856 }
00857 
00858 if (!isset($cfg['SQP']['fmtInd'])) {
00859     $cfg['SQP']['fmtInd'] = '1';
00860 }
00861 
00862 if (!isset($cfg['SQP']['fmtIndUnit'])) {
00863     $cfg['SQP']['fmtIndUnit'] = 'em';
00864 }
00865 
00866 if (!isset($cfg['AvailableCharsets'])) {
00867     $cfg['AvailableCharsets'] = array(
00868         'iso-8859-1',
00869         'iso-8859-2',
00870         'iso-8859-3',
00871         'iso-8859-4',
00872         'iso-8859-5',
00873         'iso-8859-6',
00874         'iso-8859-7',
00875         'iso-8859-8',
00876         'iso-8859-9',
00877         'iso-8859-10',
00878         'iso-8859-11',
00879         'iso-8859-12',
00880         'iso-8859-13',
00881         'iso-8859-14',
00882         'iso-8859-15',
00883         'windows-1250',
00884         'windows-1251',
00885         'windows-1252',
00886         'windows-1256',
00887         'windows-1257',
00888         'koi8-r',
00889         'big5',
00890         'gb2312',
00891         'gbk',
00892         'utf-8',
00893         'utf-7',
00894         'x-user-defined',
00895         'euc-jp',
00896         'ks_c_5601-1987',
00897         'tis-620',
00898         'SHIFT_JIS'
00899     );
00900 }
00901 
00902 if (!isset($cfg['ColumnTypes'])) {
00903     if (isset($cfgColumnTypes)) {
00904         $cfg['ColumnTypes'] = $cfgColumnTypes;
00905         unset($cfgColumnTypes);
00906     } else {
00907         $cfg['ColumnTypes'] = array(
00908             'VARCHAR',
00909             'TINYINT',
00910             'TEXT',
00911             'DATE',
00912             'SMALLINT',
00913             'MEDIUMINT',
00914             'INT',
00915             'BIGINT',
00916             'FLOAT',
00917             'DOUBLE',
00918             'DECIMAL',
00919             'DATETIME',
00920             'TIMESTAMP',
00921             'TIME',
00922             'YEAR',
00923             'CHAR',
00924             'TINYBLOB',
00925             'TINYTEXT',
00926             'BLOB',
00927             'MEDIUMBLOB',
00928             'MEDIUMTEXT',
00929             'LONGBLOB',
00930             'LONGTEXT',
00931             'ENUM',
00932             'SET'
00933         );
00934     }
00935 } elseif (!isset($cfg['ColumnTypes']['BOOL'])) {
00936     $cfg['ColumnTypes'][] = 'BOOL';
00937 }
00938 
00939 if (!isset($cfg['AttributeTypes'])) {
00940     if (isset($cfgAttributeTypes)) {
00941         $cfg['AttributeTypes'] = $cfgAttributeTypes;
00942         unset($cfgAttributeTypes);
00943     } else {
00944         $cfg['AttributeTypes'] = array(
00945            '',
00946            'BINARY',
00947            'UNSIGNED',
00948            'UNSIGNED ZEROFILL'
00949         );
00950     }
00951 }
00952 
00953 if ($cfg['ShowFunctionFields']) {
00954     if (!isset($cfg['Functions'])) {
00955         if (isset($cfgFunctions)) {
00956             $cfg['Functions'] = $cfgFunctions;
00957         } else {
00958             $cfg['Functions'] = array(
00959                'ASCII',
00960                'CHAR',
00961                'SOUNDEX',
00962                'LCASE',
00963                'UCASE',
00964                'NOW',
00965                'OLD_PASSWORD',
00966                'PASSWORD',
00967                'MD5',
00968                'SHA1',
00969                'ENCRYPT',
00970                'RAND',
00971                'LAST_INSERT_ID',
00972                'COUNT',
00973                'AVG',
00974                'SUM',
00975                'CURDATE',
00976                'CURTIME',
00977                'FROM_DAYS',
00978                'FROM_UNIXTIME',
00979                'PERIOD_ADD',
00980                'PERIOD_DIFF',
00981                'TO_DAYS',
00982                'UNIX_TIMESTAMP',
00983                'USER',
00984                'WEEKDAY',
00985                'CONCAT'
00986             );
00987         }
00988 
00989         // Which column types will be mapped to which Group?
00990         $cfg['RestrictColumnTypes'] = array(
00991            'VARCHAR'      => 'FUNC_CHAR',
00992            'TINYINT'      => 'FUNC_NUMBER',
00993            'TEXT'         => 'FUNC_CHAR',
00994            'DATE'         => 'FUNC_DATE',
00995            'SMALLINT'     => 'FUNC_NUMBER',
00996            'MEDIUMINT'    => 'FUNC_NUMBER',
00997            'INT'          => 'FUNC_NUMBER',
00998            'BIGINT'       => 'FUNC_NUMBER',
00999            'FLOAT'        => 'FUNC_NUMBER',
01000            'DOUBLE'       => 'FUNC_NUMBER',
01001            'DECIMAL'      => 'FUNC_NUMBER',
01002            'DATETIME'     => 'FUNC_DATE',
01003            'TIMESTAMP'    => 'FUNC_DATE',
01004            'TIME'         => 'FUNC_DATE',
01005            'YEAR'         => 'FUNC_DATE',
01006            'CHAR'         => 'FUNC_CHAR',
01007            'TINYBLOB'     => 'FUNC_CHAR',
01008            'TINYTEXT'     => 'FUNC_CHAR',
01009            'BLOB'         => 'FUNC_CHAR',
01010            'MEDIUMBLOB'   => 'FUNC_CHAR',
01011            'MEDIUMTEXT'   => 'FUNC_CHAR',
01012            'LONGBLOB'     => 'FUNC_CHAR',
01013            'LONGTEXT'     => 'FUNC_CHAR',
01014            'ENUM'         => '',
01015            'SET'          => ''
01016         );
01017 
01018         // Map above defined groups to any function
01019         $cfg['RestrictFunctions'] = array(
01020             'FUNC_CHAR'   => array(
01021                 'ASCII',
01022                 'CHAR',
01023                 'SOUNDEX',
01024                 'LCASE',
01025                 'UCASE',
01026                 'OLD_PASSWORD',
01027                 'PASSWORD',
01028                 'MD5',
01029                 'SHA1',
01030                 'ENCRYPT',
01031                 'LAST_INSERT_ID',
01032                 'USER',
01033                 'CONCAT'
01034             ),
01035 
01036             'FUNC_DATE'   => array(
01037                 'NOW',
01038                 'CURDATE',
01039                 'CURTIME',
01040                 'FROM_DAYS',
01041                 'FROM_UNIXTIME',
01042                 'PERIOD_ADD',
01043                 'PERIOD_DIFF',
01044                 'TO_DAYS',
01045                 'UNIX_TIMESTAMP',
01046                 'WEEKDAY'
01047             ),
01048 
01049             'FUNC_NUMBER' => array(
01050                 'ASCII',
01051                 'CHAR',
01052                 'MD5',
01053                 'SHA1',
01054                 'ENCRYPT',
01055                 'RAND',
01056                 'LAST_INSERT_ID',
01057                 'UNIX_TIMESTAMP',
01058                 'COUNT',
01059                 'AVG',
01060                 'SUM'
01061             )
01062         );
01063     }
01064 
01065     if (!isset($cfg['DefaultFunctions'])) {
01066         $cfg['DefaultFunctions'] = array(
01067             'FUNC_CHAR'         => '',
01068             'FUNC_DATE'         => '',
01069             'FUNC_NUMBER'       => '',
01070             'first_timestamp'   => 'NOW'
01071         );
01072     }
01073 }
01074 
01075 if (!isset($cfg['NumOperators'])) {
01076     $cfg['NumOperators'] = array(
01077        '=',
01078        '>',
01079        '>=',
01080        '<',
01081        '<=',
01082        '!=',
01083        'LIKE',
01084        'NOT LIKE'
01085     );
01086 }
01087 
01088 if (!isset($cfg['TextOperators'])) {
01089     $cfg['TextOperators'] = array(
01090        'LIKE',
01091        'LIKE %...%',
01092        'NOT LIKE',
01093        '=',
01094        '!=',
01095        'REGEXP',
01096        'NOT REGEXP'
01097     );
01098 }
01099 
01100 if (!isset($cfg['EnumOperators'])) {
01101     $cfg['EnumOperators'] = array(
01102        '=',
01103        '!='
01104     );
01105 }
01106 
01107 if (!isset($cfg['NullOperators'])) {
01108     $cfg['NullOperators'] = array(
01109        'IS NULL',
01110        'IS NOT NULL'
01111     );
01112 }
01113 
01114 if (!isset($cfg['UnaryOperators'])) {
01115     $cfg['UnaryOperators'] = array(
01116        'IS NULL'     => 1,
01117        'IS NOT NULL' => 1
01118     );
01119 }
01120 
01121 if (!isset($cfg['GD2Available'])) {
01122     $cfg['GD2Available'] = 'auto';
01123 }
01124 if (!isset($cfg['PDFPageSizes'])) {
01125     $cfg['PDFPageSizes']        = array('A3', 'A4', 'A5', 'letter', 'legal');
01126 }
01127 if (!isset($cfg['PDFDefaultPageSize'])) {
01128     $cfg['PDFDefaultPageSize']  = 'A4';
01129 }
01130 if (!isset($cfg['CtrlArrowsMoving'])) {
01131     $cfg['CtrlArrowsMoving'] = TRUE;
01132 }
01133 
01134 if (!isset($cfg['Export'])) {
01135     $cfg['Export'] = array();
01136 }
01137 
01138 if (!isset($cfg['Export']['format'])) {
01139     $cfg['Export']['format'] = 'sql';
01140 } // sql/latex/excel/csv/xml/xls/htmlexcel/htmlword
01141 if (!isset($cfg['Export']['compression'])) {
01142     $cfg['Export']['compression'] = 'none';
01143 } // none/zip/gzip/bzip2
01144 
01145 if (!isset($cfg['Export']['asfile'])) {
01146     $cfg['Export']['asfile'] = FALSE;
01147 }
01148 if (!isset($cfg['Export']['charset'])) {
01149     $cfg['Export']['charset'] = '';
01150 }
01151 if (!isset($cfg['Export']['onserver'])) {
01152     $cfg['Export']['onserver'] = FALSE;
01153 }
01154 if (!isset($cfg['Export']['onserver_overwrite'])) {
01155     $cfg['Export']['onserver_overwrite'] = FALSE;
01156 }
01157 if (!isset($cfg['Export']['remember_file_template'])) {
01158     $cfg['Export']['remember_file_template'] = TRUE;
01159 }
01160 if (!isset($cfg['Export']['file_template_table'])) {
01161     $cfg['Export']['file_template_table']       = '__TABLE__';
01162 }
01163 if (!isset($cfg['Export']['file_template_database'])) {
01164     $cfg['Export']['file_template_database']    = '__DB__';
01165 }
01166 if (!isset($cfg['Export']['file_template_server'])) {
01167     $cfg['Export']['file_template_server']      = '__SERVER__';
01168 }
01169 if (!isset($cfg['Export']['csv_null'])) {
01170     $cfg['Export']['csv_null']                  = 'NULL';
01171 }
01172 if (!isset($cfg['Export']['csv_columns'])) {
01173     $cfg['Export']['csv_columns'] = FALSE;
01174 }
01175 if (!isset($cfg['Export']['htmlexcel_null'])) {
01176     $cfg['Export']['htmlexcel_null']                = 'NULL';
01177 }
01178 if (!isset($cfg['Export']['htmlexcel_columns'])) {
01179     $cfg['Export']['htmlexcel_columns'] = FALSE;
01180 }
01181 if (!isset($cfg['Export']['htmlword_structure'])) {
01182     $cfg['Export']['htmlword_structure'] = TRUE;
01183 }
01184 if (!isset($cfg['Export']['htmlword_data'])) {
01185     $cfg['Export']['htmlword_data'] = TRUE;
01186 }
01187 if (!isset($cfg['Export']['htmlword_null'])) {
01188     $cfg['Export']['htmlword_null']                = 'NULL';
01189 }
01190 if (!isset($cfg['Export']['htmlword_columns'])) {
01191     $cfg['Export']['htmlword_columns'] = FALSE;
01192 }
01193 if (!isset($cfg['Export']['xls_null'])) {
01194     $cfg['Export']['xls_null']                = 'NULL';
01195 }
01196 if (!isset($cfg['Export']['xls_columns'])) {
01197     $cfg['Export']['xls_columns'] = FALSE;
01198 }
01199 if (!isset($cfg['Export']['excel_null'])) {
01200     $cfg['Export']['excel_null']                = 'NULL';
01201 }
01202 if (!isset($cfg['Export']['excel_columns'])) {
01203     $cfg['Export']['excel_columns'] = FALSE;
01204 }
01205 if (!isset($cfg['Export']['excel_edition'])) {
01206     $cfg['Export']['excel_edition'] = 'win';
01207 }
01208 if (!isset($cfg['Export']['latex_null'])) {
01209     $cfg['Export']['latex_null']                = '\textit{NULL}';
01210 }
01211 if (!isset($cfg['Export']['csv_separator'])) {
01212     $cfg['Export']['csv_separator'] = ';';
01213 }
01214 if (!isset($cfg['Export']['csv_enclosed'])) {
01215     $cfg['Export']['csv_enclosed'] = '&quot;';
01216 }
01217 if (!isset($cfg['Export']['csv_escaped'])) {
01218     $cfg['Export']['csv_escaped'] = '\\';
01219 }
01220 if (!isset($cfg['Export']['csv_terminated'])) {
01221     $cfg['Export']['csv_terminated'] = 'AUTO';
01222 }
01223 
01224 if (!isset($cfg['Export']['latex_structure'])) {
01225     $cfg['Export']['latex_structure'] = TRUE;
01226 }
01227 if (!isset($cfg['Export']['latex_data'])) {
01228     $cfg['Export']['latex_data'] = TRUE;
01229 }
01230 if (!isset($cfg['Export']['latex_columns'])) {
01231     $cfg['Export']['latex_columns'] = TRUE;
01232 }
01233 if (!isset($cfg['Export']['latex_relation'])) {
01234     $cfg['Export']['latex_relation'] = TRUE;
01235 }
01236 if (!isset($cfg['Export']['latex_comments'])) {
01237     $cfg['Export']['latex_comments'] = TRUE;
01238 }
01239 if (!isset($cfg['Export']['latex_mime'])) {
01240     $cfg['Export']['latex_mime'] = TRUE;
01241 }
01242 if (!isset($cfg['Export']['latex_caption'])) {
01243     $cfg['Export']['latex_caption'] = TRUE;
01244 }
01245 if (!isset($cfg['Export']['latex_data_label'])) {
01246     $cfg['Export']['latex_data_label'] = 'tab:__TABLE__-data';
01247 }
01248 if (!isset($cfg['Export']['latex_structure_label'])) {
01249     $cfg['Export']['latex_structure_label'] = 'tab:__TABLE__-structure';
01250 }
01251 
01252 if (!isset($cfg['Export']['sql_drop_database'])) {
01253     $cfg['Export']['sql_drop_database'] = FALSE;
01254 }
01255 if (!isset($cfg['Export']['sql_disable_fk'])) {
01256     $cfg['Export']['sql_disable_fk'] = FALSE;
01257 }
01258 if (!isset($cfg['Export']['sql_use_transaction'])) {
01259     $cfg['Export']['sql_use_transaction'] = FALSE;
01260 }
01261 if (!isset($cfg['Export']['sql_drop_table'])) {
01262     $cfg['Export']['sql_drop_table'] = FALSE;
01263 }
01264 if (!isset($cfg['Export']['sql_if_not_exists'])) {
01265     $cfg['Export']['sql_if_not_exists'] = FALSE;
01266 }
01267 if (!isset($cfg['Export']['sql_auto_increment'])) {
01268     $cfg['Export']['sql_auto_increment'] = TRUE;
01269 }
01270 if (!isset($cfg['Export']['sql_structure'])) {
01271     $cfg['Export']['sql_structure'] = TRUE;
01272 }
01273 if (!isset($cfg['Export']['sql_data'])) {
01274     $cfg['Export']['sql_data'] = TRUE;
01275 }
01276 if (!isset($cfg['Export']['sql_compat'])) {
01277     $cfg['Export']['sql_compat'] = 'NONE';
01278 }
01279 if (!isset($cfg['Export']['sql_backquotes'])) {
01280     $cfg['Export']['sql_backquotes'] = TRUE;
01281 }
01282 if (!isset($cfg['Export']['sql_dates'])) {
01283     $cfg['Export']['sql_dates'] = FALSE;
01284 }
01285 if (!isset($cfg['Export']['sql_relation'])) {
01286     $cfg['Export']['sql_relation'] = FALSE;
01287 }
01288 if (!isset($cfg['Export']['sql_columns'])) {
01289     $cfg['Export']['sql_columns'] = FALSE;
01290 }
01291 if (!isset($cfg['Export']['sql_delayed'])) {
01292     $cfg['Export']['sql_delayed'] = FALSE;
01293 }
01294 if (!isset($cfg['Export']['sql_ignore'])) {
01295     $cfg['Export']['sql_ignore'] = FALSE;
01296 }
01297 if (!isset($cfg['Export']['sql_hex_for_binary'])) {
01298     $cfg['Export']['sql_hex_for_binary'] = TRUE;
01299 }
01300 if (!isset($cfg['Export']['sql_type'])) {
01301     $cfg['Export']['sql_type'] = 'insert';
01302 }
01303 if (!isset($cfg['Export']['sql_extended'])) {
01304     $cfg['Export']['sql_extended'] = FALSE;
01305 }
01306 if (!isset($cfg['Export']['sql_comments'])) {
01307     $cfg['Export']['sql_comments'] = FALSE;
01308 }
01309 if (!isset($cfg['Export']['sql_mime'])) {
01310     $cfg['Export']['sql_mime'] = FALSE;
01311 }
01312 if (!isset($cfg['Export']['sql_header_comment'])) {
01313     $cfg['Export']['sql_header_comment'] = '';
01314 }
01315 
01316 ?>


Généré par Le spécialiste TYPO3 avec  doxygen 1.4.6