Jump to navigation Jump to search
This page is a translated version of the page Manual:$wgSQLiteDataDir and the translation is 20% complete.
Other languages:
English • ‎español • ‎français • ‎magyar • ‎polski • ‎中文 • ‎日本語
SQLite-specific: $wgSQLiteDataDir
To override default SQLite data directory.
Introducido en la versión:1.13.0 (r34457)
Eliminado en la versión:aún se usa
Valores permitidos:(path)
Valor predeterminado:''


To override default SQLite data directory.

By default it is "data" directory in the parent of the document root (i.e. the folder where the web server stores web documents).

SQLite stores each database in its own file. So MediaWiki must give it the directory and filename, to get access to the database. This also applies to humans trying to access the database on the terminal (see Manual:SQLite).

This variable allows for storing the database outside the document root, because, in most cases, one does not want to give access to the database file through the web.