home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 April / CMCD0404.ISO / Software / Freeware / Programare / groupoffice-com-2.01 / modules / wiki / config.php < prev    next >
PHP Script  |  2004-03-08  |  4KB  |  104 lines

  1. <?php
  2.  
  3. // config.php
  4. //
  5. // This file was generated by the install/configure.pl script based
  6. // on values entered by the administrator.  It contains the most
  7. // common (and vital) configuration parameters for WikkiTikkiTavi to
  8. // run.
  9. //
  10. // You may edit this file by hand or use configure.pl to generate a
  11. // new copy.
  12. //
  13. // Certain other settings may be configured; look in lib/defaults.php
  14. // to see them.  Rather than changing them in lib/defaults.php, you
  15. // should copy them from there to here.  The settings here will safely
  16. // over-ride those in lib/defaults.php.
  17.  
  18. // $Admin specifies the administrator e-mail address used in error messages.
  19. $Admin = $GO_CONFIG->webmaster_email;;
  20.  
  21. // If $DBPersist is not 0, persistent database connections will be used.
  22. // Note that this is not supported by all hosting providers.
  23. $DBPersist = 1;
  24.  
  25. // $DBServer indicates the hostname of the database server.  It may be
  26. // set to '' for the local host.
  27. $DBServer = $GO_CONFIG->db_host;
  28.  
  29. // $DBName indicates the name of the database that the wiki should use.
  30. $DBName = $GO_CONFIG->db_name;
  31.  
  32. // $DBUser indicates the name of the database user.
  33. $DBUser = $GO_CONFIG->db_user;
  34.  
  35. // $DBPasswd indicates the password to use for database access.
  36. $DBPasswd = $GO_CONFIG->db_pass;
  37.  
  38. // $DBTablePrefix is used to start table names for the wiki's tables.  If your
  39. // hosting provider only allows you one database, you can set up multiple
  40. // wikis in the same database by creating tables that have different prefixes.
  41. $DBTablePrefix = 'wiki_';
  42.  
  43. // $WikiName determines the name of your wiki.  This name is used in the
  44. // browser title bar.  Often, it will be the same as $HomePage.
  45. $WikiName = 'GroupOfficeWiki';
  46.  
  47. // $HomePage determines the "main" page of your wiki.  If browsers do not ask
  48. // to see a specific page they will be shown the home page.  This should be
  49. // a wiki page name, like 'AcmeProjectWiki'.
  50. $HomePage = 'GroupOfficeWiki';
  51.  
  52. // $InterWikiPrefix determines what interwiki prefix you recommend other
  53. // wikis use to link to your wiki. Usually it is similar to your WikiName.
  54. $InterWikiPrefix = '';
  55.  
  56. // If $EnableFreeLinks is set to 1, links of the form "((page name))" will be
  57. // turned on for this wiki.  If it is set to 0, they will be disallowed.
  58. $EnableFreeLinks = 1;
  59.  
  60. // If $EnableWikiLinks is set to 1, normal WikiNames will be treated as links
  61. // in this wiki.  If it is set to 0, they will not be treated as links
  62. // (in which case you should be careful to enable free links!).
  63. $EnableWikiLinks = 1;
  64.  
  65. // When $EnableTextEnhance is set to 1, the extended operators allowing you
  66. // to do both bold, italic, super-/subscript, ins/del are available. When
  67. // set to 0, only the traditional ''italic'' and '''bold'' are available.
  68. $EnableTextEnhance = 1;
  69.  
  70. // $ScriptBase determines the location of your wiki script.  It should indicate
  71. // the full URL of the main index.php script itself.
  72. $ScriptBase = $GO_CONFIG->full_url.'/modules/wiki/index.php';
  73.  
  74. // $AdminScript indicates the location of your admin wiki script.  It should
  75. // indicate the full URL of the admin/index.php script itself.
  76. $AdminScript = $GO_CONFIG->full_url.'/modules/wiki/admin/index.php';
  77.  
  78. // $WikiLogo determines the location of your wiki logo.
  79. $WikiLogo = '';
  80.  
  81. // $MetaKeywords indicates what keywords to report on the meta-keywords tag.
  82. // This is useful to aid search engines in indexing your wiki.
  83. $MetaKeywords = '';
  84.  
  85. // $MetaDescription should be a sentence or two describing your wiki.  This
  86. // is useful to aid search engines in indexing your wiki.
  87. $MetaDescription = '';
  88.  
  89. // TemplateDir indicates what directory your wiki templates are located in.
  90. // You may use this to install other templates than the default template.
  91. define('TemplateDir', 'template');
  92.  
  93. // !!!WARNING!!!
  94. // If $AdminEnabled is set to 1, the script admin/index.php will be accessible.
  95. //   This allows administrators to lock pages and block IP addresses.  If you
  96. //   want to use this feature, YOU SHOULD FIRST BLOCK ACCESS TO THE admin/
  97. //   DIRECTORY BY OTHER MEANS, such as Apache's authorization directives.
  98. //   If you do not do so, any visitor to your wiki will be able to lock pages
  99. //   and block others from accessing the wiki.
  100. // If $AdminEnabled is set to 0, administrator control will be disallowed.
  101. $AdminEnabled = 0;
  102.  
  103. ?>
  104.