Advertisement
Guest User

config

a guest
Apr 24th, 2012
25
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 4.78 KB | None | 0 0
  1. <?php
  2. # This file was automatically generated by the MediaWiki 1.18.2
  3. # installer. If you make manual changes, please keep track in case you
  4. # need to recreate them later.
  5. #
  6. # See includes/DefaultSettings.php for all configurable settings
  7. # and their default values, but don't forget to make changes in _this_
  8. # file, not there.
  9. #
  10. # Further documentation for configuration settings may be found at:
  11. # http://www.mediawiki.org/wiki/Manual:Configuration_settings
  12.  
  13. # Protect against web entry
  14. if ( !defined( 'MEDIAWIKI' ) ) {
  15.     exit;
  16. }
  17.  
  18. ## Uncomment this to disable output compression
  19. # $wgDisableOutputCompression = true;
  20.  
  21. $wgSitename      = "EHS Wiki";
  22. $wgMetaNamespace = "EHS_Wiki";
  23.  
  24. ## The URL base path to the directory containing the wiki;
  25. ## defaults for all runtime URL paths are based off of this.
  26. ## For more information on customizing the URLs please see:
  27. ## http://www.mediawiki.org/wiki/Manual:Short_URL
  28. $wgScriptPath       = "/wiki";
  29. $wgScriptExtension  = ".php";
  30.  
  31. ## The protocol and server name to use in fully-qualified URLs
  32. $wgServer           = "";
  33.  
  34. ## The relative URL path to the skins directory
  35. $wgStylePath        = "$wgScriptPath/skins";
  36.  
  37. ## The relative URL path to the logo.  Make sure you change this from the default,
  38. ## or else you'll overwrite your logo when you upgrade!
  39. $wgLogo             = "$wgStylePath/common/images/wiki.png";
  40.  
  41. ## UPO means: this is also a user preference option
  42.  
  43. $wgEnableEmail      = true;
  44. $wgEnableUserEmail  = true; # UPO
  45.  
  46. $wgEmergencyContact = "";
  47. $wgPasswordSender   = "";
  48.  
  49. $wgEnotifUserTalk      = true; # UPO
  50. $wgEnotifWatchlist     = true; # UPO
  51. $wgEmailAuthentication = true;
  52.  
  53. ## Database settings
  54. $wgDBtype           = "mysql";
  55. $wgDBserver         = "localhost";
  56. $wgDBname           = "";
  57. $wgDBuser           = "";
  58. $wgDBpassword       = "";
  59.  
  60. # MySQL specific settings
  61. $wgDBprefix         = "wiki-";
  62.  
  63. # MySQL table options to use during installation or update
  64. $wgDBTableOptions   = "ENGINE=MyISAM, DEFAULT CHARSET=binary";
  65.  
  66. # Experimental charset support for MySQL 4.1/5.0.
  67. $wgDBmysql5 = false;
  68.  
  69. ## Shared memory settings
  70. $wgMainCacheType    = CACHE_NONE;
  71. $wgMemCachedServers = array();
  72.  
  73. ## To enable image uploads, make sure the 'images' directory
  74. ## is writable, then set this to true:
  75. $wgEnableUploads  = true;
  76. #$wgUseImageMagick = true;
  77. #$wgImageMagickConvertCommand = "/usr/bin/convert";
  78.  
  79. # InstantCommons allows wiki to use images from http://commons.wikimedia.org
  80. $wgUseInstantCommons  = false;
  81.  
  82. ## If you use ImageMagick (or any other shell command) on a
  83. ## Linux server, this will need to be set to the name of an
  84. ## available UTF-8 locale
  85. $wgShellLocale = "en_US.utf8";
  86.  
  87. ## If you want to use image uploads under safe mode,
  88. ## create the directories images/archive, images/thumb and
  89. ## images/temp, and make them all writable. Then uncomment
  90. ## this, if it's not already uncommented:
  91. #$wgHashedUploadDirectory = false;
  92.  
  93. ## Set $wgCacheDirectory to a writable directory on the web server
  94. ## to make your wiki go slightly faster. The directory should not
  95. ## be publically accessible from the web.
  96. #$wgCacheDirectory = "$IP/cache";
  97.  
  98. # Site language code, should be one of the list in ./languages/Names.php
  99. $wgLanguageCode = "en";
  100.  
  101. $wgSecretKey = "";
  102.  
  103. # Site upgrade key. Must be set to a string (default provided) to turn on the
  104. # web installer while LocalSettings.php is in place
  105. $wgUpgradeKey = "";
  106.  
  107. ## Default skin: you can change the default skin. Use the internal symbolic
  108. ## names, ie 'standard', 'nostalgia', 'cologneblue', 'monobook', 'vector':
  109. $wgDefaultSkin = 'PageLinesWiki';
  110.  
  111. ## For attaching licensing metadata to pages, and displaying an
  112. ## appropriate copyright notice / icon. GNU Free Documentation
  113. ## License and Creative Commons licenses are supported so far.
  114. $wgRightsPage = ""; # Set to the title of a wiki page that describes your license/copyright
  115. $wgRightsUrl  = "";
  116. $wgRightsText = "";
  117. $wgRightsIcon = "";
  118. # $wgRightsCode = ""; # Not yet used
  119.  
  120. # Path to the GNU diff3 utility. Used for conflict resolution.
  121. $wgDiff3 = "/usr/bin/diff3";
  122.  
  123. # Query string length limit for ResourceLoader. You should only set this if
  124. # your web server has a query string length limit (then set it to that limit),
  125. # or if you have suhosin.get.max_value_length set in php.ini (then set it to
  126. # that value)
  127. $wgResourceLoaderMaxQueryLength = 1024;
  128.  
  129. # The following permissions were set based on your choice in the installer
  130. $wgGroupPermissions['*']['createaccount'] = false;
  131. $wgGroupPermissions['*']['edit'] = false;
  132.  
  133.  
  134. # End of automatically generated settings.
  135. # Add more configuration options below.
  136. // pagelines-start
  137. require_once( '/is/htdocs/wp10987297_VEMW2RYLXM/www/myEHSnetwork/wp-load.php' );
  138. // pagelines-end
  139.  
  140. require_once('extensions/AuthWP.php');
  141. $wgAuth=new AuthWP();
  142. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement