X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FDefines.php;h=d0f0c26b193fb0ec353132bd571f9d3dde281d0a;hb=38a42ed82346c9e5bca0dc31b5d8256c2d6a63f7;hp=fc39af569814abea4bc473acd195b9dbd9090b94;hpb=c62a8fad5e57a9f7f8c6f78193e7d91c9ed45430;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/Defines.php b/includes/Defines.php index fc39af5698..d0f0c26b19 100644 --- a/includes/Defines.php +++ b/includes/Defines.php @@ -6,9 +6,28 @@ * since this file will not be executed during request startup for a compiled * MediaWiki. * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * http://www.gnu.org/copyleft/gpl.html + * * @file */ +/** + * @defgroup Constants + */ + /** * Version constants for the benefit of extensions */ @@ -92,7 +111,7 @@ define( 'CACHE_ANYTHING', -1 ); // Use anything, as long as it works define( 'CACHE_NONE', 0 ); // Do not cache define( 'CACHE_DB', 1 ); // Store cache objects in the DB define( 'CACHE_MEMCACHED', 2 ); // MemCached, must specify servers in $wgMemCacheServers -define( 'CACHE_ACCEL', 3 ); // eAccelerator +define( 'CACHE_ACCEL', 3 ); // APC, XCache or WinCache define( 'CACHE_DBA', 4 ); // Use PHP's DBA extension to store in a DBM-style database /**@}*/