MediaWiki master
SetupDynamicConfig.php
Go to the documentation of this file.
1<?php
10use Wikimedia\AtEase\AtEase;
11
12// For backwards compatibility, the value of wgLogos is copied to wgLogo.
13// This is because some extensions/skins may be using $config->get('Logo')
14// to access the value.
15if ( $wgLogos !== false && isset( $wgLogos['1x'] ) ) {
16 $wgLogo = $wgLogos['1x'];
17}
18
19// Back-compat
20if ( isset( $wgFileBlacklist ) ) {
21 $wgProhibitedFileExtensions = array_merge( $wgProhibitedFileExtensions, $wgFileBlacklist );
22} else {
23 $wgFileBlacklist = $wgProhibitedFileExtensions;
24}
25if ( isset( $wgMimeTypeBlacklist ) ) {
26 $wgMimeTypeExclusions = array_merge( $wgMimeTypeExclusions, $wgMimeTypeBlacklist );
27} else {
28 $wgMimeTypeBlacklist = $wgMimeTypeExclusions;
29}
30if ( isset( $wgEnableUserEmailBlacklist ) ) {
31 $wgEnableUserEmailMuteList = $wgEnableUserEmailBlacklist;
32} else {
33 $wgEnableUserEmailBlacklist = $wgEnableUserEmailMuteList;
34}
35if ( isset( $wgShortPagesNamespaceBlacklist ) ) {
36 $wgShortPagesNamespaceExclusions = $wgShortPagesNamespaceBlacklist;
37} else {
38 $wgShortPagesNamespaceBlacklist = $wgShortPagesNamespaceExclusions;
39}
40
41// Rate limits should have the same name as the corresponding permission
42if ( isset( $wgRateLimits['emailuser'] ) ) {
43 // If the deprecated field is set, use it.
44 // Note that we can't know whether the new field has been set explicitly, since it has a default value.
45 $wgSettings->warning(
46 'RateLimit: The "emailuser" limit is deprecated, use "sendemail" instead.'
47 );
48 $wgRateLimits['sendemail'] = $wgRateLimits['emailuser'];
49}
50
51// Rate limits should have the same name as the corresponding permission
52if ( isset( $wgRateLimits['changetag'] ) ) {
53 // If the deprecated field is set, use it.
54 // Note that we can't know whether the new field has been set explicitly, since it has a default value.
55 $wgSettings->warning(
56 'RateLimit: The "changetag" limit is deprecated, use "changetags" instead.'
57 );
58 $wgRateLimits['changetags'] = $wgRateLimits['changetag'];
59}
60
61// Prohibited file extensions shouldn't appear on the "allowed" list
62// @phan-suppress-next-line PhanTypeMismatchArgumentNullableInternal False positive
64
65// Fix path to icon images after they were moved in 1.24
66if ( $wgRightsIcon ) {
67 $wgRightsIcon = str_replace(
68 "{$wgStylePath}/common/images/",
69 "{$wgResourceBasePath}/resources/assets/licenses/",
71 );
72}
73
74if ( isset( $wgFooterIcons['copyright']['copyright'] )
75 && $wgFooterIcons['copyright']['copyright'] === []
76) {
78 $wgFooterIcons['copyright']['copyright'] = [
79 'url' => $wgRightsUrl,
80 'src' => $wgRightsIcon,
81 'alt' => $wgRightsText,
82 ];
83 }
84}
85
86if ( isset( $wgFooterIcons['poweredby'] )
87 && isset( $wgFooterIcons['poweredby']['mediawiki'] )
88 && is_array( $wgFooterIcons['poweredby']['mediawiki'] )
89 && $wgFooterIcons['poweredby']['mediawiki']['src'] === null
90) {
91 $compactLogo = "$wgResourceBasePath/resources/assets/mediawiki_compact.svg";
92 $wgFooterIcons['poweredby']['mediawiki']['sources'] = [
93 [
94 "media" => "(min-width: 500px)",
95 "srcset" => "$wgResourceBasePath/resources/assets/poweredby_mediawiki.svg",
96 "width" => 88,
97 "height" => 31,
98 ]
99 ];
100 $wgFooterIcons['poweredby']['mediawiki']['src'] = $compactLogo;
101 $wgFooterIcons['poweredby']['mediawiki']['width'] = 25;
102 $wgFooterIcons['poweredby']['mediawiki']['height'] = 25;
103}
104
105// Unconditional protection for NS_MEDIAWIKI since otherwise it's too easy for a
106// sysadmin to set $wgNamespaceProtection incorrectly and leave the wiki insecure.
107//
108// Note that this is the definition of editinterface and it can be granted to
109// all users if desired.
111
112// Initialise $wgLockManagers to include basic FS version
114 'name' => 'fsLockManager',
115 'class' => FSLockManager::class,
116 'lockDirectory' => "{$wgUploadDirectory}/lockdir",
117];
118$wgLockManagers[] = [
119 'name' => 'nullLockManager',
120 'class' => NullLockManager::class,
121];
122
123// Default parameters for the "<gallery>" tag.
124// See \MediaWiki\MainConfigSchema::GalleryOptions
126 'imagesPerRow' => 0,
127 'imageWidth' => 120,
128 'imageHeight' => 120,
129 'captionLength' => true,
130 'showBytes' => true,
131 'showDimensions' => true,
132 'mode' => 'traditional',
133];
134
135if ( isset( $wgLocalFileRepo['name'] ) && !isset( $wgLocalFileRepo['backend'] ) ) {
136 // Create a default FileBackend name.
137 // FileBackendGroup will register a default, if absent from $wgFileBackends.
138 $wgLocalFileRepo['backend'] = $wgLocalFileRepo['name'] . '-backend';
139}
140
144if ( $wgUseSharedUploads ) {
145 if ( $wgSharedUploadDBname ) {
147 'class' => ForeignDBRepo::class,
148 'name' => 'shared',
149 'directory' => $wgSharedUploadDirectory,
150 'url' => $wgSharedUploadPath,
151 'hashLevels' => $wgHashedSharedUploadDirectory ? 2 : 0,
152 'thumbScriptUrl' => $wgSharedThumbnailScriptPath,
153 'transformVia404' => !$wgGenerateThumbnailOnParse,
154 'dbType' => $wgDBtype,
155 'dbServer' => $wgDBserver,
156 'dbUser' => $wgDBuser,
157 'dbPassword' => $wgDBpassword,
158 'dbName' => $wgSharedUploadDBname,
159 'dbFlags' => ( $wgDebugDumpSql ? DBO_DEBUG : 0 ) | DBO_DEFAULT,
160 'tablePrefix' => $wgSharedUploadDBprefix,
161 'hasSharedCache' => $wgCacheSharedUploads,
162 'descBaseUrl' => $wgRepositoryBaseUrl,
163 'fetchDescription' => $wgFetchCommonsDescriptions,
164 ];
165 } else {
167 'class' => FileRepo::class,
168 'name' => 'shared',
169 'directory' => $wgSharedUploadDirectory,
170 'url' => $wgSharedUploadPath,
171 'hashLevels' => $wgHashedSharedUploadDirectory ? 2 : 0,
172 'thumbScriptUrl' => $wgSharedThumbnailScriptPath,
173 'transformVia404' => !$wgGenerateThumbnailOnParse,
174 'descBaseUrl' => $wgRepositoryBaseUrl,
175 'fetchDescription' => $wgFetchCommonsDescriptions,
176 ];
177 }
178}
181 'class' => ForeignAPIRepo::class,
182 'name' => 'wikimediacommons',
183 'apibase' => 'https://commons.wikimedia.org/w/api.php',
184 'url' => 'https://upload.wikimedia.org/wikipedia/commons',
185 'thumbUrl' => 'https://upload.wikimedia.org/wikipedia/commons/thumb',
186 'hashLevels' => 2,
187 'transformVia404' => true,
188 'fetchDescription' => true,
189 'descriptionCacheExpiry' => 43200,
190 'apiThumbCacheExpiry' => 0,
191 ];
192}
193foreach ( $wgForeignFileRepos as &$repo ) {
194 if ( !isset( $repo['directory'] ) && $repo['class'] === ForeignAPIRepo::class ) {
195 $repo['directory'] = $wgUploadDirectory; // b/c
196 }
197 if ( !isset( $repo['backend'] ) ) {
198 $repo['backend'] = $repo['name'] . '-backend';
199 }
200}
201unset( $repo ); // no global pollution; destroy reference
202
203$rcMaxAgeDays = $wgRCMaxAge / ( 3600 * 24 );
204// Ensure that default user options are not invalid, since that breaks Special:Preferences
205$wgDefaultUserOptions['rcdays'] = min(
206 $wgDefaultUserOptions['rcdays'],
207 ceil( $rcMaxAgeDays )
208);
209$wgDefaultUserOptions['watchlistdays'] = min(
210 $wgDefaultUserOptions['watchlistdays'],
211 ceil( $rcMaxAgeDays )
212);
213unset( $rcMaxAgeDays );
214
215$wgCookiePrefix = strtr( $wgCookiePrefix, '=,; +."\'\\[', '__________' );
216
217if ( !$wgEnableEmail ) {
218 // Disable all other email settings automatically if $wgEnableEmail
219 // is set to false. - T65678
220 $wgAllowHTMLEmail = false;
221 $wgEmailAuthentication = false; // do not require auth if you're not sending email anyway
222 $wgEnableUserEmail = false;
223 $wgEnotifFromEditor = false;
224 $wgEnotifImpersonal = false;
226 $wgEnotifMinorEdits = false;
228 $wgEnotifUseRealName = false;
229 $wgEnotifUserTalk = false;
230 $wgEnotifWatchlist = false;
231 unset( $wgGroupPermissions['user']['sendemail'] );
234}
235
236if ( !$wgLocaltimezone ) {
237 // NOTE: The automatic dynamic default only kicks in if $wgLocaltimezone is null,
238 // but the installer writes $wgLocaltimezone into LocalSettings, and may
239 // produce (or may have produced historically) an empty string for some
240 // reason. To be compatible with existing LocalSettings.php files, we need
241 // to gracefully handle the case of $wgLocaltimezone being the empty string.
242 // See T305093#8063451.
243 $wgLocaltimezone = MainConfigSchema::getDefaultLocaltimezone();
244 $wgSettings->warning(
245 'The Localtimezone setting must a valid timezone string or null. '
246 . 'It must not be an empty string or false.'
247 );
248}
249
250// The part after the System| is ignored, but rest of MW fills it out as the local offset.
251$wgDefaultUserOptions['timecorrection'] = "System|$wgLocalTZoffset";
252
257$wgCanonicalNamespaceNames = NamespaceInfo::CANONICAL_NAMES;
258
259// Hard-deprecate setting $wgDummyLanguageCodes in LocalSettings.php
260if ( count( $wgDummyLanguageCodes ) !== 0 ) {
261 $wgSettings->warning(
262 'Do not add to DummyLanguageCodes directly, ' .
263 'add to ExtraLanguageCodes instead.'
264 );
265}
266// Merge in the legacy language codes, incorporating overrides from the config
268 // Internal language codes of the private-use area which get mapped to
269 // themselves.
270 'qqq' => 'qqq', // Used for message documentation
271 'qqx' => 'qqx', // Used for viewing message keys
272] + $wgExtraLanguageCodes + LanguageCode::getDeprecatedCodeMapping();
273// Merge in (inverted) BCP 47 mappings
274foreach ( LanguageCode::getNonstandardLanguageCodeMapping() as $code => $bcp47 ) {
275 $bcp47 = strtolower( $bcp47 ); // force case-insensitivity
276 if ( !isset( $wgDummyLanguageCodes[$bcp47] ) ) {
277 $wgDummyLanguageCodes[$bcp47] = $wgDummyLanguageCodes[$code] ?? $code;
278 }
279}
280unset( $code ); // no global pollution; destroy reference
281unset( $bcp47 ); // no global pollution; destroy reference
282if ( $wgUseXssLanguage ) {
283 $wgDummyLanguageCodes['x-xss'] = 'x-xss'; // Used for testing
284}
285
286// Temporary backwards-compatibility reading of old replica lag settings as of MediaWiki 1.36,
287// to support sysadmins who fail to update their settings immediately:
288
289if ( isset( $wgSlaveLagWarning ) ) {
290 // If the old value is set to something other than the default, use it.
291 if ( $wgDatabaseReplicaLagWarning === 10 && $wgSlaveLagWarning !== 10 ) {
292 $wgDatabaseReplicaLagWarning = $wgSlaveLagWarning;
293 $wgSettings->warning( 'SlaveLagWarning is no longer supported, ' .
294 'use DatabaseReplicaLagWarning instead!' );
295 }
296} else {
297 // Backwards-compatibility for extensions that read this value.
298 $wgSlaveLagWarning = $wgDatabaseReplicaLagWarning;
299}
300
301if ( isset( $wgSlaveLagCritical ) ) {
302 // If the old value is set to something other than the default, use it.
303 if ( $wgDatabaseReplicaLagCritical === 30 && $wgSlaveLagCritical !== 30 ) {
304 $wgDatabaseReplicaLagCritical = $wgSlaveLagCritical;
305 $wgSettings->warning( 'SlaveLagCritical is no longer supported, ' .
306 'use DatabaseReplicaLagCritical instead!' );
307 }
308} else {
309 // Backwards-compatibility for extensions that read this value.
310 $wgSlaveLagCritical = $wgDatabaseReplicaLagCritical;
311}
312
313if ( $wgInvalidateCacheOnLocalSettingsChange && defined( 'MW_CONFIG_FILE' ) ) {
314 AtEase::suppressWarnings();
315 $wgCacheEpoch = max( $wgCacheEpoch, gmdate( 'YmdHis', filemtime( MW_CONFIG_FILE ) ) );
316 AtEase::restoreWarnings();
317}
318
319if ( $wgNewUserLog ) {
320 // Add new user log type
321 $wgLogTypes[] = 'newusers';
322 $wgLogNames['newusers'] = 'newuserlogpage';
323 $wgLogHeaders['newusers'] = 'newuserlogpagetext';
324 $wgLogActionsHandlers['newusers/newusers'] = [
325 'class' => NewUsersLogFormatter::class,
326 'services' => [
327 'NamespaceInfo',
328 ]
329 ];
330 $wgLogActionsHandlers['newusers/create'] = [
331 'class' => NewUsersLogFormatter::class,
332 'services' => [
333 'NamespaceInfo',
334 ]
335 ];
336 $wgLogActionsHandlers['newusers/create2'] = [
337 'class' => NewUsersLogFormatter::class,
338 'services' => [
339 'NamespaceInfo',
340 ]
341 ];
342 $wgLogActionsHandlers['newusers/byemail'] = [
343 'class' => NewUsersLogFormatter::class,
344 'services' => [
345 'NamespaceInfo',
346 ]
347 ];
348 $wgLogActionsHandlers['newusers/autocreate'] = [
349 'class' => NewUsersLogFormatter::class,
350 'services' => [
351 'NamespaceInfo',
352 ]
353 ];
354}
355
356if ( $wgPageCreationLog ) {
357 // Add page creation log type
358 $wgLogTypes[] = 'create';
359 $wgLogActionsHandlers['create/create'] = LogFormatter::class;
360}
361
363 $wgLogTypes[] = 'pagelang';
364 $wgLogActionsHandlers['pagelang/pagelang'] = [
365 'class' => PageLangLogFormatter::class,
366 'services' => [
367 'LanguageNameUtils',
368 ]
369 ];
370}
371
372if ( $wgPHPSessionHandling !== 'enable' &&
373 $wgPHPSessionHandling !== 'warn' &&
374 $wgPHPSessionHandling !== 'disable'
375) {
376 $wgPHPSessionHandling = 'warn';
377}
378if ( defined( 'MW_NO_SESSION' ) ) {
379 // If the entry point wants no session, force 'disable' here unless they
380 // specifically set it to the (undocumented) 'warn'.
381 $wgPHPSessionHandling = MW_NO_SESSION === 'warn' ? 'warn' : 'disable';
382}
383
384// Backwards compatibility with old bot passwords storage configs
387}
389 $wgVirtualDomainsMapping['virtual-botpasswords']['cluster'] = $wgBotPasswordsCluster;
390}
391
393 $wgVirtualDomainsMapping['virtual-botpasswords']['db'] = $wgBotPasswordsDatabase;
394}
const NS_MEDIAWIKI
Definition Defines.php:73
if(isset($wgRateLimits[ 'emailuser'])) if(isset( $wgRateLimits['changetag'])) $wgFileExtensions
if( $wgRightsIcon) if(isset($wgFooterIcons[ 'copyright'][ 'copyright']) &&$wgFooterIcons[ 'copyright'][ 'copyright']===[]) if(isset( $wgFooterIcons['poweredby']) &&isset( $wgFooterIcons['poweredby']['mediawiki']) &&is_array( $wgFooterIcons['poweredby']['mediawiki']) && $wgFooterIcons['poweredby']['mediawiki']['src']===null) $wgNamespaceProtection[NS_MEDIAWIKI]
$wgCanonicalNamespaceNames
Definitions of the NS_ constants are in Defines.php.
if(count( $wgDummyLanguageCodes) !==0) $wgDummyLanguageCodes
$wgLockManagers[]
$wgDefaultUserOptions['rcdays']
$wgSettings
Definition Setup.php:155
Methods for dealing with language codes.
This class contains schema declarations for all configuration variables known to MediaWiki core.
This is a utility class for dealing with namespaces that encodes all the "magic" behaviors of them ba...
$wgProhibitedFileExtensions
Config variable stub for the ProhibitedFileExtensions setting, for use by phpdoc and IDEs.
$wgRightsIcon
Config variable stub for the RightsIcon setting, for use by phpdoc and IDEs.
$wgCacheEpoch
Config variable stub for the CacheEpoch setting, for use by phpdoc and IDEs.
$wgSharedThumbnailScriptPath
Config variable stub for the SharedThumbnailScriptPath setting, for use by phpdoc and IDEs.
$wgEnotifWatchlist
Config variable stub for the EnotifWatchlist setting, for use by phpdoc and IDEs.
$wgDBuser
Config variable stub for the DBuser setting, for use by phpdoc and IDEs.
$wgEnotifMaxRecips
Config variable stub for the EnotifMaxRecips setting, for use by phpdoc and IDEs.
$wgEnotifUserTalk
Config variable stub for the EnotifUserTalk setting, for use by phpdoc and IDEs.
$wgPageLanguageUseDB
Config variable stub for the PageLanguageUseDB setting, for use by phpdoc and IDEs.
$wgUseInstantCommons
Config variable stub for the UseInstantCommons setting, for use by phpdoc and IDEs.
$wgEnableUserEmailMuteList
Config variable stub for the EnableUserEmailMuteList setting, for use by phpdoc and IDEs.
$wgBotPasswordsCluster
Config variable stub for the BotPasswordsCluster setting, for use by phpdoc and IDEs.
$wgHashedSharedUploadDirectory
Config variable stub for the HashedSharedUploadDirectory setting, for use by phpdoc and IDEs.
$wgGenerateThumbnailOnParse
Config variable stub for the GenerateThumbnailOnParse setting, for use by phpdoc and IDEs.
$wgRightsUrl
Config variable stub for the RightsUrl setting, for use by phpdoc and IDEs.
$wgEnableUserEmail
Config variable stub for the EnableUserEmail setting, for use by phpdoc and IDEs.
$wgLogNames
Config variable stub for the LogNames setting, for use by phpdoc and IDEs.
$wgSharedUploadPath
Config variable stub for the SharedUploadPath setting, for use by phpdoc and IDEs.
$wgInvalidateCacheOnLocalSettingsChange
Config variable stub for the InvalidateCacheOnLocalSettingsChange setting, for use by phpdoc and IDEs...
$wgBotPasswordsDatabase
Config variable stub for the BotPasswordsDatabase setting, for use by phpdoc and IDEs.
$wgDBtype
Config variable stub for the DBtype setting, for use by phpdoc and IDEs.
$wgUploadDirectory
Config variable stub for the UploadDirectory setting, for use by phpdoc and IDEs.
$wgLogTypes
Config variable stub for the LogTypes setting, for use by phpdoc and IDEs.
$wgShortPagesNamespaceExclusions
Config variable stub for the ShortPagesNamespaceExclusions setting, for use by phpdoc and IDEs.
$wgSharedUploadDirectory
Config variable stub for the SharedUploadDirectory setting, for use by phpdoc and IDEs.
$wgRightsText
Config variable stub for the RightsText setting, for use by phpdoc and IDEs.
$wgEnotifFromEditor
Config variable stub for the EnotifFromEditor setting, for use by phpdoc and IDEs.
$wgPageCreationLog
Config variable stub for the PageCreationLog setting, for use by phpdoc and IDEs.
$wgDatabaseReplicaLagCritical
Config variable stub for the DatabaseReplicaLagCritical setting, for use by phpdoc and IDEs.
$wgEnotifRevealEditorAddress
Config variable stub for the EnotifRevealEditorAddress setting, for use by phpdoc and IDEs.
$wgFooterIcons
Config variable stub for the FooterIcons setting, for use by phpdoc and IDEs.
$wgCacheSharedUploads
Config variable stub for the CacheSharedUploads setting, for use by phpdoc and IDEs.
$wgEnableEmail
Config variable stub for the EnableEmail setting, for use by phpdoc and IDEs.
$wgEnotifImpersonal
Config variable stub for the EnotifImpersonal setting, for use by phpdoc and IDEs.
$wgUseXssLanguage
Config variable stub for the UseXssLanguage setting, for use by phpdoc and IDEs.
$wgUsersNotifiedOnAllChanges
Config variable stub for the UsersNotifiedOnAllChanges setting, for use by phpdoc and IDEs.
$wgRCMaxAge
Config variable stub for the RCMaxAge setting, for use by phpdoc and IDEs.
$wgLocaltimezone
Config variable stub for the Localtimezone setting, for use by phpdoc and IDEs.
$wgUserEmailUseReplyTo
Config variable stub for the UserEmailUseReplyTo setting, for use by phpdoc and IDEs.
$wgGroupPermissions
Config variable stub for the GroupPermissions setting, for use by phpdoc and IDEs.
$wgVirtualDomainsMapping
Config variable stub for the VirtualDomainsMapping setting, for use by phpdoc and IDEs.
$wgLocalFileRepo
Config variable stub for the LocalFileRepo setting, for use by phpdoc and IDEs.
$wgAllowHTMLEmail
Config variable stub for the AllowHTMLEmail setting, for use by phpdoc and IDEs.
$wgSharedUploadDBname
Config variable stub for the SharedUploadDBname setting, for use by phpdoc and IDEs.
$wgLogos
Config variable stub for the Logos setting, for use by phpdoc and IDEs.
$wgForeignFileRepos
Config variable stub for the ForeignFileRepos setting, for use by phpdoc and IDEs.
$wgRepositoryBaseUrl
Config variable stub for the RepositoryBaseUrl setting, for use by phpdoc and IDEs.
$wgLogHeaders
Config variable stub for the LogHeaders setting, for use by phpdoc and IDEs.
$wgSharedUploadDBprefix
Config variable stub for the SharedUploadDBprefix setting, for use by phpdoc and IDEs.
$wgEnotifMinorEdits
Config variable stub for the EnotifMinorEdits setting, for use by phpdoc and IDEs.
$wgDebugDumpSql
Config variable stub for the DebugDumpSql setting, for use by phpdoc and IDEs.
$wgDatabaseReplicaLagWarning
Config variable stub for the DatabaseReplicaLagWarning setting, for use by phpdoc and IDEs.
$wgFetchCommonsDescriptions
Config variable stub for the FetchCommonsDescriptions setting, for use by phpdoc and IDEs.
$wgDBserver
Config variable stub for the DBserver setting, for use by phpdoc and IDEs.
$wgMimeTypeExclusions
Config variable stub for the MimeTypeExclusions setting, for use by phpdoc and IDEs.
$wgExtraLanguageCodes
Config variable stub for the ExtraLanguageCodes setting, for use by phpdoc and IDEs.
$wgEmailAuthentication
Config variable stub for the EmailAuthentication setting, for use by phpdoc and IDEs.
$wgLogo
Config variable stub for the Logo setting, for use by phpdoc and IDEs.
$wgLogActionsHandlers
Config variable stub for the LogActionsHandlers setting, for use by phpdoc and IDEs.
$wgRateLimits
Config variable stub for the RateLimits setting, for use by phpdoc and IDEs.
$wgPHPSessionHandling
Config variable stub for the PHPSessionHandling setting, for use by phpdoc and IDEs.
$wgUseSharedUploads
Config variable stub for the UseSharedUploads setting, for use by phpdoc and IDEs.
$wgDBpassword
Config variable stub for the DBpassword setting, for use by phpdoc and IDEs.
$wgEnotifUseRealName
Config variable stub for the EnotifUseRealName setting, for use by phpdoc and IDEs.
$wgNewUserLog
Config variable stub for the NewUserLog setting, for use by phpdoc and IDEs.
const MW_NO_SESSION
Definition load.php:32
const DBO_DEFAULT
Definition defines.php:13
const DBO_DEBUG
Definition defines.php:9