1 ; This is the main configuration file for PhpWiki.
2 ; Note that certain characters are used as comment char and therefore
3 ; these entries must be in double-quotes. Such as ":", ";", "," and "|"
5 ; <?php die(); ?> for security
7 ; This file is divided into eight parts.
8 ; Each one has different configuration settings you can
9 ; change; in all cases the default should work on your system,
10 ; however, we recommend you tailor things to your particular setting.
11 ; Here undefined definitions get defined by config-default.ini settings.
13 ;=========================================================================
14 ; Part Zero: Latest Development and Tricky Options
15 ;=========================================================================
17 ; If PHP needs help in finding where you installed the rest of the PhpWiki
18 ; code, you can set the include_path here.
20 ; Override PHP's include path so that it can find some needed additional libraries.
21 ; You shouldn't need to do this unless your system include_path esp. your
22 ; system pear libs are broken or oudated. The PHPWIKI_DIR is automatically
23 ; put to the front and the local lib/pear path is automatically added to the end.
24 ; But if you define it, be sure to include either the system pear path or
25 ; the phpwiki/lib/pear path to override your Pear_DB.
26 ; Note that on Windows-based servers, you should use ; rather than :
27 ; as the path separator.
28 ;INCLUDE_PATH = ".:/usr/local/httpd/phpwiki:/usr/share/pear"
30 ; Set DEBUG to 1 to view the XHTML and CSS validator icons, page
31 ; processing timer, and possibly other debugging messages at the
32 ; bottom of each page. 65 for a more verbose level with AUTH hints.
33 ; See lib/config.php for all supported values.
37 ; Enable the new method of handling WikiUsers. This is currently an
38 ; experimental feature, although it is considered fairly stable. It's best
39 ; to leave it on, and only disable it if you have problems with it.
40 ; Servers with memory-limit problems might want to turn it off. It costs ~300KB
42 ;ENABLE_USER_NEW = false
44 ; Use access control lists (as in Solaris and Windows NTFS) per page and group,
45 ; not per user for the whole wiki.
47 ; I suspect ACL page permissions to degrade speed by 10%.
48 ; GROUP_METHOD=WIKIPAGE is slowest. (See Part 3a)
50 ;ENABLE_PAGEPERM = false
52 ; Graphical buttons on edit. Default: true
53 ; Reportedly broken on MacOSX Safari
54 ;ENABLE_EDIT_TOOLBAR = false
56 ; Adds two additional buttons in EDIT_TOOLBAR, Search&Replace and Undo
57 ; Undo is experimental.
59 ;JS_SEARCHREPLACE = true
61 ; Note: Enable it for all users. Otherwise as per-user setting in UserPreferences.
63 ;ENABLE_DOUBLECLICKEDIT = false
65 ; Needed for inlined SVG and MathM, but conflicts with document.write().
66 ; Experimental. Default: false. Problematic with MSIE6
67 ; See http://hixie.ch/advocacy/xhtml
68 ;ENABLE_XHTML_XML = true
70 ; Store DB query results in memory to avoid duplicate queries.
71 ; Disable only for old php's with low memory or memory_limit=8MB.
75 ; Needs babycart installed. See http://phpwiki.org/SpamAssassinIntegration
76 ; Optionally define BABYCART_PATH. Default: /usr/local/bin/babycart
77 ;ENABLE_SPAMASSASSIN = true
79 ; If GOOGLE_LINKS_NOFOLLOW is true, ref=nofollow is added to
80 ; all external links to discourage spam. You might want to turn it off,
81 ; if you want to improve pageranks on external links.
82 ; TODO: Add ref=nofollow only for external links added by anonymous users.
83 ;GOOGLE_LINKS_NOFOLLOW = false
85 ; LiveSearch enables immediate title search results via XMLHttpRequest.
86 ; Displays the results in a dropdown under the titlesearch inputbox
87 ; while typing. (experimental, only with certain themes)
88 ; You'll have to copy livesearch.js from http://blog.bitflux.ch/wiki/LiveSearch
89 ; to themes/default/ and define ENABLE_LIVESEARCH in config.ini to true.
90 ; See themes/blog/themeinfo.php.
91 ; Currently we use the bitflux.ch library, but we will change to
92 ; the russian acdropdown soon.
93 ;ENABLE_LIVESEARCH = true
94 ; ENABLE_ACDROPDOWN replaces ENABLE_LIVESEARCH
95 ; http://momche.net/publish/article.php?page=acdropdown
96 ;ENABLE_ACDROPDOWN = true
98 ; Experimental WikiPedia feature: Force Discussion/Article link at the topnavbar.
99 ; This does not work yet.
100 ;ENABLE_DISCUSSION_LINK = true
102 ; If set to true, add some anti-spam countermeasures based on captcha
103 ; tests. See http://www.captcha.net/ for more information on captcha.
104 ;ENABLE_CAPTCHA = true
106 ; USE_SAFE_DBSESSION should be enabled, if you encounter session problems, with
107 ; duplicate INSERT sess_id warnings at the bottom of the page. Reason is a
108 ; unreliable affected_rows implementation() in the sql backend.
109 ; Default is Disabled, using the fastest DbSession UPDATE method.
110 ;USE_SAFE_DBSESSION = false
112 ;==========================================================================
113 ; Part One: Authentication and security settings.
115 ; See Part Three for more.
116 ;==========================================================================
118 ; The name of your wiki.
120 ; This is used to generate a keywords meta tag in the HTML templates,
121 ; in bookmark titles for any bookmarks made to pages in your wiki,
122 ; and during RSS generation for the <title> of the RSS channel.
124 ; To use your own logo and signature files, name them PhpWikiLogo.png
125 ; and PhpWikiSignature.png and put them into themes/default/images
126 ; (substituting "PhpWiki" in the filename with the name you define
129 ; It is recommended this be a relatively short WikiWord like the
130 ; InterWiki monikers found in the InterWikiMap. (For examples, see
131 ; lib/interwiki.map).
134 ; Username and password of administrator.
136 ; Set these to your preferences. For heaven's sake pick a good
137 ; password and use the passencrypt.php tool to encrypt the password from
139 ; http://wolfram.org/writing/howto/password.html
141 ; Logging into the wiki with the admin user and password allows you to lock,
142 ; unlock, or remove pages and to perform other PhpWikiAdministration
143 ; functions. On all other occasions you should simply log in with your
145 ; If your password contains special chars like ";" or ":" better quote it in double-quotes.
148 ; You must set this! Username and password of the administrator.
149 ; ADMIN_PASSWD is ignored on HttpAuth
152 ; It is recommended that you use encrypted passwords to be stored in the
153 ; config.ini and the users homepages metadata.
154 ; You might want to use the passencrypt.php utility to encode the
155 ; admin password, in the event that someone gains ftp or ssh access to the
156 ; server and directory containing phpwiki.
157 ; <i>SQL access passwords cannot be encrypted, besides using external DATABASE_DSN aliases within PDO.</i>
159 ; If true, all user passwords will be stored encrypted.
160 ; You might have to set it to false, if your PHP doesn't support crypt().
161 ; To use plain text passwords, in particular for the ADMIN_PASSWD, set
162 ; ENCRYPTED_PASSWD to false.
163 ENCRYPTED_PASSWD = true
165 ; Visitor Hostname Lookup
167 ; If set, reverse dns lookups will be performed to attempt to convert
168 ; the user's IP number into a host name, in the case where the http
169 ; server does not do this.
170 ENABLE_REVERSE_DNS = true
172 ; Private ZIP Dumps of All Wiki Pages
174 ; If true, only the admin user can make zip dumps. Otherwise anyone
175 ; may download all wiki pages as a single zip archive.
178 ; The RawHtml plugin allows page authors to embed real, raw HTML into Wiki
179 ; pages. This is a possible security threat, as much HTML (or, rather,
180 ; JavaScript) can be very risky. If you are in a controlled environment,
181 ; or you are using the two options below, however, it could be of use.
182 ENABLE_RAW_HTML = true
184 ; If this is set, only pages locked by the Administrator may contain the
186 ENABLE_RAW_HTML_LOCKEDONLY = true
188 ; If this is set, all unsafe html code is stripped automatically (experimental!)
189 ; See http://chxo.com/scripts/safe_html-test.php
190 ENABLE_RAW_HTML_SAFE = true
192 ; If you define this to true, (MIME-type) page-dumps (either zip dumps,
193 ; or "dumps to directory" will be encoded using the quoted-printable
194 ; encoding. If you're actually thinking of mailing the raw page dumps,
195 ; then this might be useful, since (among other things,) it ensures
196 ; that all lines in the message body are under 80 characters in length.
198 ; Also, setting this will cause a few additional mail headers
199 ; to be generated, so that the resulting dumps are valid
200 ; RFC 2822 e-mail messages.
202 ; Probably you can just leave this set to false, in which case you get
203 ; raw ('binary' content-encoding) page dumps.
204 STRICT_MAILABLE_PAGEDUMPS = false
206 ; Here you can change the default dump directories.
207 ; (Can be overridden by the directory argument)
208 DEFAULT_DUMP_DIR = /tmp/wikidump
209 HTML_DUMP_DIR = /tmp/wikidumphtml
211 ; Filename suffix used for XHTML page dumps.
212 ; If you don't want any suffix just comment this out.
213 HTML_DUMP_SUFFIX = .html
215 ; The maximum file upload size, in bytes.
216 ; The default, 16777216, is 16MB.
217 MAX_UPLOAD_SIZE = 16777216
219 ; If the last edit is older than MINOR_EDIT_TIMEOUT seconds, the
220 ; default state for the "minor edit" checkbox on the edit page form
222 ; The default, 604800, is one week (7 days)
223 MINOR_EDIT_TIMEOUT = 604800
225 ; Actions listed in this array will not be allowed. The complete list
226 ; of actions can be found in lib/main.php with the function
227 ; getActionDescription.
228 ; DISABLED_ACTIONS = "dumpserial : loadfile"
230 ; If you enable this option every page is moderated by the ModeratedPage
231 ; action page plugin. Changing a moderated page will be delayed to be
232 ; granted by a moderator by email.
233 ; ENABLE_MODERATEDPAGE_ALL = true
235 ; PhpWiki can generate an access_log (in "NCSA combined log" format)
236 ; for you. If you want one, define this to the name of the log
237 ; file. The server must have write access to the directory specified.
238 ; Note that even you define ACCESS_LOG_SQL logs are written to this file also.
239 ;ACCESS_LOG = /var/tmp/wiki_access_log
241 ; PhpWiki can read and/or write mod_log_sql accesslog tables for faster
242 ; abuse detection and referer lists.
243 ; If defined (e.g. 1) read-access is done via SQL.
244 ; If flag 2 is set, phpwiki also writes. Default on SQL database.
245 ; This must use DATABASE_TYPE = SQL or ADODB or PDO.
246 ;ACCESS_LOG_SQL = 0 ; disable SQL access logging
247 ;ACCESS_LOG_SQL = 1 ; phpwiki reads, apache mod_log_sql writes
248 ;ACCESS_LOG_SQL = 2 ; read + write
250 ; By default PhpWiki will try to have PHP compress its output
251 ; before sending it to the browser, if you have a recent enough
252 ; version of PHP and the browser and action supports it.
253 ; Define COMPRESS_OUTPUT to false to prevent output compression.
254 ; Define COMPRESS_OUTPUT to true to force output compression,
255 ; even if we think your version of PHP does this in a buggy
257 ; Leave it undefined to leave the choice up to PhpWiki. (Recommended)
259 ; WARNING: Compressing the output has been reported to cause problems
260 ; when PHP is running on MacOSX or on redirected requests.
261 ; This setting should now be correctly determined automatically.
262 ;COMPRESS_OUTPUT = false
264 ; This controls how PhpWiki sets the HTTP cache control
265 ; headers (Expires: and Cache-Control:)
269 ; NO_CACHE: This is roughly the old (pre 1.3.4) behavior. PhpWiki will
270 ; instruct proxies and browsers never to cache PhpWiki output.
271 ; This was previously called 'NONE', but NONE was treated specially
272 ; by parse_ini_config().
274 ; STRICT: Cached pages will be invalidated whenever the database global
275 ; timestamp changes. This should behave just like NO_CACHE (modulo
276 ; bugs in PhpWiki and your proxies and browsers), except that
277 ; things will be slightly more efficient.
279 ; LOOSE: Cached pages will be invalidated whenever they are edited,
280 ; or, if the pages include plugins, when the plugin output could
281 ; concievably have changed.
283 ; Behavior should be much like STRICT, except that sometimes
284 ; wikilinks will show up as undefined (with the question mark)
285 ; when in fact they refer to (recently) created pages.
286 ; (Hitting your browsers reload or perhaps shift-reload button
287 ; should fix the problem.)
289 ; ALLOW_STALE: Proxies and browsers will be allowed to used stale pages.
290 ; (The timeout for stale pages is controlled by CACHE_CONTROL_MAX_AGE.)
292 ; This setting will result in quirky behavior. When you edit a
293 ; page your changes may not show up until you shift-reload the
296 ; This setting is generally not advisable, however it may be useful
297 ; in certain cases (e.g. if your wiki gets lots of page views,
298 ; and few edits by knowledgable people who won't freak over the quirks.)
300 ; The recommended default is currently LOOSE.
302 CACHE_CONTROL = LOOSE
304 ; Maximum page staleness, in seconds.
306 ; This only has effect if CACHE_CONTROL is set to ALLOW_STALE.
307 CACHE_CONTROL_MAX_AGE = 600
309 ; PhpWiki normally caches a preparsed version (i.e. mostly
310 ; converted to HTML) of the most recent version of each page.
311 ; (Parsing the wiki-markup takes a fair amount of CPU.)
312 ; Define WIKIDB_NOCACHE_MARKUP to true to disable the
313 ; caching of marked-up page content.
314 ; Note that you can also disable markup caching on a per-page
315 ; temporary basis by addinging a query arg of '?nocache=1'
316 ; to the URL to the page or by adding a NoCache plugin line.
317 ; Use '?nocache=purge' to completely discard the cached version of the page.
318 ; You can also purge the cached markup globally by using the
319 ; "Purge Markup Cache" button on the PhpWikiAdministration page.
320 ; Enable only for old php's with low memory or memory_limit=8MB.
322 ;WIKIDB_NOCACHE_MARKUP = true
324 COOKIE_EXPIRATION_DAYS = 365
325 ; Default path for the wikiuser cookie. You need to specify this more explicitly
326 ; if you want to enable different users on different wikis on the same host.
329 ;======================================================================
330 ; Part Two: Database Selection
331 ;======================================================================
333 ; Select the database type:
335 ; SQL: access one of several SQL databases using the PEAR DB library.
336 ; ADODB: uses the ADODB library for data access. (most general)
337 ; dba: use one of the standard UNIX dbm libraries. (fastest)
338 ; file: use a flat file database. (easiest)
339 ; cvs: use a CVS server to store everything. (experimental, not recommended)
342 ; prefix for filenames or table names
344 ; Currently you MUST EDIT THE SQL file too (in the schemas/
345 ; directory because we aren't doing on the fly sql generation
346 ; during the installation.
347 ; Note: This prefix is NOT prepended to the default DBAUTH_
348 ; tables user, pref and member!
349 ;DATABASE_PREFIX = phpwiki_
351 ; For SQL based backends, specify the database as a DSN (Data Source Name),
352 ; a kind of URL for databases.
354 ; The most general form of a DSN looks like:
356 ; dbtype(dbsyntax)://username:password@protocol+hostspec/database?option=value&option2=value2
358 ; For a MySQL database, the following should work:
360 ; mysql://user:password@host/databasename
362 ; To connect over a unix socket, use something like
364 ; mysql://user:password@unix(/path/to/socket)/databasename
366 ; Valid values for dbtype are mysql, pgsql, or sqlite.
368 DATABASE_DSN = "mysql://guest@unix(/var/lib/mysql/mysql.sock)/test"
370 ; Keep persistent connections: (mysql_pconnect, ...)
371 ; Recommended is false for bigger servers, and true for small servers
372 ; with not so many connections. postgresql: Please leave it false. Default: false
373 ; Should really be set as database option in the DSN above.
374 DATABASE_PERSISTENT = false
376 ; A table to store session information. Only needed by SQL backends.
378 ; A word of warning - any prefix defined above will be prepended to whatever
380 DATABASE_SESSION_TABLE = session
382 ; For the file and dba backends, this specifies where the data files will be
383 ; located. Ensure that the user that the webserver runs as has write access
386 ; WARNING: leaving this as the default of '/tmp' will almost guarantee that
387 ; you'll lose your wiki data at some stage.
388 DATABASE_DIRECTORY = /tmp
390 ; For the dba backend, this defines which DBA variant you wish to use.
391 ; gdbm - commonly available, Fedora not
392 ; db2 - Berkeley DB v2; not supported by modern versions of PHP
393 ; db3 - Berkeley DB v3; as per db2. The best on Windows
394 ; db4 - Berkeley DB v4; current version, however PHP has some issues
395 ; with it's db4 support.
396 ; dbm - Older dba handler; suffers from limits on the size of data
398 DATABASE_DBA_HANDLER = gdbm
400 ; How long will the system wait for a database operation to complete?
401 ; Specified in seconds.
404 ; If action=upgrade detects mysql problems, but has no ALTER permissions,
405 ; give here a user which has the necessary ALTER or CREATE permissions.
406 ; Of course you can fix your database manually. See lib/upgrade.php for known issues.
408 ;DBADMIN_PASSWD = secret
410 ; The login code now uses PHP's session support. Usually, the default
411 ; configuration of PHP is to store the session state information in
412 ; /tmp. That probably will work fine, but fails e.g. on clustered
413 ; servers where each server has their own distinct /tmp (this is the
414 ; case on SourceForge's project web server.) You can specify an
415 ; alternate directory in which to store state information like so
416 ; (whatever user your httpd runs as must have read/write permission
417 ; in this directory):
418 ;SESSION_SAVE_PATH = some_other_directory
420 ;========================================================================
421 ; Section 3a: Page revisions
423 ; The next section controls how many old revisions of each page are
424 ; kept in the database.
425 ;========================================================================
427 ; There are two basic classes of revisions: major and minor. Which
428 ; class a revision belongs in is determined by whether the author
429 ; checked the "this is a minor revision" checkbox when they saved the
432 ; There is, additionally, a third class of revisions: author
433 ; revisions. The most recent non-mergable revision from each distinct
434 ; author is an author revision.
436 ; The expiry parameters for each of those three classes of revisions
437 ; can be adjusted seperately. For each class there are five
438 ; parameters (usually, only two or three of the five are actually
439 ; set) which control how long those revisions are kept in the
442 ; MAX_KEEP: If set, this specifies an absolute maximum for the
443 ; number of archived revisions of that class. This is
444 ; meant to be used as a safety cap when a non-zero
445 ; min_age is specified. It should be set relatively high,
446 ; and it's purpose is to prevent malicious or accidental
447 ; database overflow due to someone causing an
448 ; unreasonable number of edits in a short period of time.
450 ; MIN_AGE: Revisions younger than this (based upon the supplanted
451 ; date) will be kept unless max_keep is exceeded. The age
452 ; should be specified in days. It should be a
453 ; non-negative, real number,
455 ; MIN_KEEP: At least this many revisions will be kept.
457 ; KEEP: No more than this many revisions will be kept.
459 ; MAX_AGE: No revision older than this age will be kept.
461 ; Definitions of terms used above:
463 ; Supplanted date: Revisions are timestamped at the instant that they
464 ; cease being the current revision. Revision age is computed using
465 ; this timestamp, not the edit time of the page.
467 ; Merging: When a minor revision is deleted, if the preceding
468 ; revision is by the same author, the minor revision is merged with
469 ; the preceding revision before it is deleted. Essentially: this
470 ; replaces the content (and supplanted timestamp) of the previous
471 ; revision with the content after the merged minor edit, the rest of
472 ; the page metadata for the preceding version (summary, mtime, ...)
475 ; Let all revisions be stored. Default since 1.3.11
476 ;MAJOR_MIN_KEEP = 2147483647
477 ;MINOR_MIN_KEEP = 2147483647
479 ; Keep up to 8 major edits, but keep them no longer than a month.
483 ; Keep up to 4 minor edits, but keep them no longer than a week.
487 ; Keep the latest contributions of the last 8 authors up to a year.
488 ; Additionally, (in the case of a particularly active page) try to
489 ; keep the latest contributions of all authors in the last week (even
490 ; if there are more than eight of them,) but in no case keep more
491 ; than twenty unique author revisions.
497 ;========================================================================
498 ; Part Three: User Authentication
499 ;========================================================================
501 ; New user authentication configuration:
502 ; We support three basic authentication methods and a stacked array
503 ; of advanced auth methods to get and check the passwords:
505 ; ALLOW_ANON_USER default true
506 ; ALLOW_ANON_EDIT default true
507 ; ALLOW_BOGO_LOGIN default true
508 ; ALLOW_USER_PASSWORDS default true
510 ; allow anon users to view existing pages
511 ALLOW_ANON_USER = true
512 ; allow anon users to edit pages
513 ALLOW_ANON_EDIT = true
515 ; If ALLOW_BOGO_LOGIN is true, users are allowed to login (with
516 ; any/no password) using any userid which:
517 ; 1) is not the ADMIN_USER, and
518 ; 2) is a valid WikiWord (matches $WikiNameRegexp.)
519 ; If true, users may be created by themselves. Otherwise we need seperate auth.
520 ; If such a user will create a so called HomePage with his userid, he will
521 ; be able to store his preferences and password there.
522 ALLOW_BOGO_LOGIN = true
524 ; True User Authentication:
525 ; To require user passwords:
526 ; ALLOW_ANON_USER = false
527 ; ALLOW_ANON_EDIT = false
528 ; ALLOW_BOGO_LOGIN = false,
529 ; ALLOW_USER_PASSWORDS = true.
530 ; Otherwise any anon or bogo user might login without any or a wrong password.
531 ALLOW_USER_PASSWORDS = true
533 ; Many different methods can be used to check user's passwords:
534 ; BogoLogin: WikiWord username, with no *actual* password checking,
535 ; although the user will still have to enter one.
536 ; PersonalPage: Store passwords in the users homepage metadata (simple)
537 ; Db: Use DBAUTH_AUTH_* (see below) with PearDB or
539 ; LDAP: Authenticate against LDAP_AUTH_HOST with LDAP_BASE_DN (experimental)
540 ; IMAP: Authenticate against IMAP_AUTH_HOST (email account)
541 ; POP3: Authenticate against POP3_AUTH_HOST (email account)
542 ; File: Store username:crypted-passwords in .htaccess like files.
543 ; Use Apache's htpasswd to manage this file.
544 ; HttpAuth: Use the protection by the webserver (.htaccess/.htpasswd)
545 ; Enforcing HTTP Auth not yet. Note that the ADMIN_USER should exist also.
546 ; Using HttpAuth disables all other methods and no userauth sessions are used.
548 ; Several of these methods can be used together, in the manner specified by
549 ; USER_AUTH_POLICY, below. To specify multiple authentication methods,
550 ; separate the name of each one with colons.
551 ;USER_AUTH_ORDER = "PersonalPage : Db"
552 ;USER_AUTH_ORDER = "BogoLogin : PersonalPage"
554 ; For "security" purposes, you can specify that a password be at least a
555 ; certain number of characters long. This applies even to the BogoLogin
556 ; method. Default: 0 (to allow immediate passwordless BogoLogin)
557 ;PASSWORD_LENGTH_MINIMUM = 6
559 ; The following policies are available for user authentication:
560 ; first-only: use only the first method in USER_AUTH_ORDER
561 ; old: ignore USER_AUTH_ORDER and try to use all available
562 ; methods as in the previous PhpWiki releases (slow)
563 ; strict: check if the user exists for all methods:
564 ; on the first existing user, try the password.
565 ; dont try the other methods on failure then
566 ; stacked: check the given user - password combination for all
567 ; methods and return true on the first success.
568 USER_AUTH_POLICY = stacked
570 ; LDAP authentication options:
572 ; The LDAP server to connect to. Can either be a hostname, or a complete
573 ; URL to the server (useful if you want to use ldaps or specify a different
575 ;LDAP_AUTH_HOST = "ldap://localhost:389"
577 ; The organizational or domain BASE DN: e.g. "dc=mydomain,dc=com".
579 ; Note: ou=Users and ou=Groups are used for GroupLdap Membership
580 ; Better use LDAP_OU_USERS and LDAP_OU_GROUP with GROUP_METHOD=LDAP.
581 ;LDAP_BASE_DN = "ou=Users,o=Development,dc=mycompany.com"
583 ; Some LDAP servers need some more options, such as the Windows Active
584 ; Directory Server. Specify the options (as allowed by the PHP LDAP module)
585 ; and their values as NAME=value pairs separated by colons.
586 ; LDAP_SET_OPTION = "LDAP_OPT_PROTOCOL_VERSION=3:LDAP_OPT_REFERRALS=0"
588 ; DN to initially bind to the LDAP server as. This is needed if the server doesn't
589 ; allow anonymous queries. (Windows Active Directory Server)
590 ; LDAP_AUTH_USER = "CN=ldapuser,ou=Users,o=Development,dc=mycompany.com"
592 ; Password to use to initially bind to the LDAP server, as the DN
593 ; specified in the LDAP_AUTH_USER option (above).
594 ; LDAP_AUTH_PASSWORD = secret
596 ; If you want to match usernames against an attribute other than uid,
597 ; specify it here. Default: uid
598 ; LDAP_SEARCH_FIELD = sAMAccountName
600 ; If you have an organizational unit for all users, define it here.
601 ; This narrows the search, and is needed for LDAP group membership (if GROUP_METHOD=LDAP)
603 ; LDAP_OU_USERS = ou=Users
605 ; If you have an organizational unit for all groups, define it here.
606 ; This narrows the search, and is needed for LDAP group membership (if GROUP_METHOD=LDAP)
607 ; The entries in this ou must have a gidNumber and cn attribute.
609 ; LDAP_OU_GROUP = ou=Groups
612 ; IMAP authentication options:
614 ; The IMAP server to check usernames from. Defaults to localhost.
616 ; Some IMAP_AUTH_HOST samples:
617 ; "localhost", "localhost:143/imap/notls",
618 ; "localhost:993/imap/ssl/novalidate-cert" (SuSE refuses non-SSL conections)
619 ; IMAP_AUTH_HOST = "localhost:143/imap/notls"
621 ; POP3 authentication options:
623 ; Host to connect to.
624 ; POP3_AUTH_HOST = "localhost:110"
626 ; Port to connect. Deprecated: Use POP3_AUTH_HOST:<port> instead
627 ; POP3_AUTH_PORT = 110
629 ; File authentication options:
631 ; File to read for authentication information.
632 ; Popular choices are /etc/shadow and /etc/httpd/.htpasswd
633 ; AUTH_USER_FILE = /etc/shadow
635 ; Defines whether the user is able to change their own password via PHPWiki.
636 ; Note that this means that the webserver user must be able to write to the
637 ; file specified in AUTH_USER_FILE.
638 ; AUTH_USER_FILE_STORABLE = false
641 ; Name of the session variable which holds the already authenticated username.
642 ; Sample: "userid", "user[username]", "user->username"
643 ; AUTH_SESS_USER = userid
644 ; Which level will the user be? 1 = Bogo or 2 = Pass
645 ; AUTH_SESS_LEVEL = 2
647 ; Group membership. PhpWiki supports defining permissions for a group as
648 ; well as for individual users. This defines how group membership information
649 ; is obtained. Supported values are:
651 ; "NONE" Disable group membership (Fastest). Note the required quoting.
652 ; WIKIPAGE Define groups as list at "CategoryGroup". (Slowest, but easiest to maintain)
653 ; DB Stored in an SQL database. Optionally external. See USERS/GROUPS queries
654 ; FILE Flatfile. See AUTH_GROUP_FILE below.
655 ; LDAP LDAP groups. See "LDAP authentication options" above and
656 ; lib/WikiGroup.php. (experimental)
657 GROUP_METHOD = WIKIPAGE
659 ; Page where all groups are listed. Default: Translation of "CategoryGroup"
660 ; CATEGORY_GROUP_PAGE = CategoryGroup
662 ; For GROUP_METHOD = FILE, the file given below is referenced to obtain
663 ; group membership information. It should be in the same format as the
664 ; standard unix /etc/groups(5) file.
665 ; AUTH_GROUP_FILE = /etc/groups
667 ; External database authentication and authorization.
669 ; If USER_AUTH_ORDER includes Db, or GROUP_METHOD = DB, the options listed
670 ; below define the SQL queries used to obtain the information out of the
671 ; database, and (in some cases) store the information back to the DB.
673 ; The options appropriate for each query are currently undocumented, and
674 ; you should not be surprised if things change mightily in the future.
676 ; A database DSN to connect to. Defaults to the DSN specified for the Wiki
678 ; DBAUTH_AUTH_DSN = "mysql://wikiuser:@localhost/phpwiki"
680 ; USER/PASSWORD queries
682 ; For USER_AUTH_POLICY=strict and the Db method this is required:
683 ; DBAUTH_AUTH_USER_EXISTS = "SELECT userid FROM user WHERE userid='$userid'"
685 ; Check to see if the supplied username/password pair is OK
687 ; plaintext passwords:
688 ; DBAUTH_AUTH_CHECK = "SELECT IF(passwd='$password',1,0) AS ok FROM user WHERE userid='$userid'"
690 ; database-hashed passwords (more secure):
691 ; DBAUTH_AUTH_CHECK = "SELECT IF(passwd=PASSWORD('$password'),1,0) AS ok FROM user WHERE userid='$userid'"
692 DBAUTH_AUTH_CRYPT_METHOD = plain
694 ; If you want to use Unix crypt()ed passwords, you can use DBAUTH_AUTH_CHECK
695 ; to get the password out of the database with a simple SELECT query, and
696 ; specify DBAUTH_AUTH_USER_EXISTS and DBAUTH_AUTH_CRYPT_METHOD:
697 ; DBAUTH_AUTH_CHECK = "SELECT passwd FROM user where userid='$userid'"
698 ; DBAUTH_AUTH_CRYPT_METHOD = crypt
700 ; Update the user's authentication credential. If this is not defined but
701 ; DBAUTH_AUTH_CHECK is, then the user will be unable to update their
704 ; Plaintext passwords:
705 ; DBAUTH_AUTH_UPDATE = "UPDATE user SET passwd='$password' WHERE userid='$userid'"
706 ; Database-hashed passwords:
707 ; DBAUTH_AUTH_UPDATE = "UPDATE user SET passwd=PASSWORD('$password') WHERE userid='$userid'"
709 ; Allow the user to create their own account.
710 ; DBAUTH_AUTH_CREATE = "INSERT INTO user SET passwd=PASSWORD('$password'),userid='$userid'"
712 ; USER/PREFERENCE queries
714 ; If you choose to store your preferences in an external database, enable
715 ; the following queries. Note that if you choose to store user preferences
716 ; in the 'user' table, only registered users get their prefs from the database,
717 ; self-created users do not. Better to use the special 'pref' table.
719 ; The prefs field stores the serialized form of the user's preferences array,
720 ; to ease the complication of storage.
721 ; DBAUTH_PREF_SELECT = "SELECT prefs FROM user WHERE userid='$userid'"
722 ; DBAUTH_PREF_SELECT = "SELECT prefs FROM pref WHERE userid='$userid'"
724 ; Update the user's preferences
725 ; DBAUTH_PREF_UPDATE = "UPDATE user SET prefs='$pref_blob' WHERE userid='$userid'"
726 ; Note that REPLACE works only with mysql and destroy all other columns!
727 ; DBAUTH_PREF_UPDATE = "REPLACE INTO pref SET prefs='$pref_blob',userid='$userid'"
729 ; USERS/GROUPS queries
731 ; You can define 1:n or n:m user<=>group relations, as you wish.
733 ; Sample configurations:
734 ; only one group per user (1:n):
735 ; DBAUTH_IS_MEMBER = "SELECT user FROM user WHERE user='$userid' AND group='$groupname'"
736 ; DBAUTH_GROUP_MEMBERS = "SELECT user FROM user WHERE group='$groupname'"
737 ; DBAUTH_USER_GROUPS = "SELECT group FROM user WHERE user='$userid'"
738 ; multiple groups per user (n:m):
739 ; DBAUTH_IS_MEMBER = "SELECT userid FROM member WHERE userid='$userid' AND groupname='$groupname'"
740 ; DBAUTH_GROUP_MEMBERS = "SELECT DISTINCT userid FROM member WHERE groupname='$groupname'"
741 ; DBAUTH_USER_GROUPS = "SELECT groupname FROM member WHERE userid='$userid'"
743 ; A interim page which gets displayed on every edit attempt, if it exists.
744 ;EDITING_POLICY = EditingPolicy
746 ;========================================================================
747 ; Part Four: Page appearance and layout
748 ;========================================================================
752 ; Most of the page appearance is controlled by files in the theme
755 ; There are a number of pre-defined themes shipped with PhpWiki.
756 ; Or you may create your own (e.g. by copying and then modifying one of
759 ; The complete list of installed themes can be found by doing 'ls themes/'
760 ; from the root of your PHPWiki installation.
761 ; white on yellow with fat blue links:
763 ; almost fully iconized classic grey MacOSX design:
765 ; as default, just some tricks to make the buttons smaller:
767 ; the popular Wordpress layout:
769 ; pure old-style c2wiki layout:
771 ; example with some sidebar boxes:
773 ; mozilla friendly, with lots of icons instead of buttons (i18n friendly):
777 ; default + rateit navbar:
779 ; blogger style, rounded (experimental):
783 ; heavy space-y layout:
785 ; random heavy images:
788 ; Select a valid charset name to be inserted into the xml/html pages,
789 ; and to reference links to the stylesheets (css). For more info see:
790 ; <http://www.iana.org/assignments/character-sets>. Note that PhpWiki
791 ; has been extensively tested only with the latin1 (iso-8859-1)
794 ; If you change the default from iso-8859-1 PhpWiki may not work
795 ; properly and will require modifications in all existing pages.
796 ; At the very least you will have to convert the files in pgsrc
797 ; or locale/xx/pgsrc to match!
798 ; Currently we support utf-8 for zh and ja, euc-jp for ja (not enabled)
799 ; and iso-8859-1 for all other langs. Changing languages (UserPreferences)
800 ; from one charset to another will not work!
802 ; Character sets similar to iso-8859-1 may work with little or no
803 ; modification depending on your setup. The database must also
804 ; support the same charset, and of course the same is true for the
805 ; web browser. (Some work is in progress hopefully to allow more
806 ; flexibility in this area in the future).
809 ; Select your language/locale - Default language is "" for auto-detection.
810 ; Available languages:
811 ; English "en" (English - HomePage)
812 ; Dutch "nl" (Nederlands - ThuisPagina)
813 ; Spanish "es" (Español - PáginaPrincipal)
814 ; French "fr" (Français - PageAccueil))
815 ; German "de" (Deutsch - StartSeite)
816 ; Swedish "sv" (Svenska - Framsida)
817 ; Italian "it" (Italiano - PaginaPrincipale)
818 ; Japanese "ja" (Japanese - ¥Û¡¼¥à ¥Ú¡¼¥¸)
819 ; Chinese "zh" (Chinese - ?)
821 ; If you set DEFAULT_LANGUAGE to the empty string, the users
822 ; preferred language as determined by the browser setting will be used.
823 ; Japanese requires CHARSET=euc-jp or utf-8 (not yet safe), Chinese CHARSET=utf-8
824 ;DEFAULT_LANGUAGE = en
826 ; WIKI_PGSRC -- specifies the source for the initial page contents of
827 ; the Wiki. The setting of WIKI_PGSRC only has effect when the wiki is
828 ; accessed for the first time (or after clearing the database.)
829 ; WIKI_PGSRC can either name a directory or a zip file. In either case
830 ; WIKI_PGSRC is scanned for files -- one file per page.
833 ; DEFAULT_WIKI_PGSRC is only used when the language is *not* the
834 ; default (English) and when reading from a directory: in that case
835 ; some English pages are inserted into the wiki as well.
836 ; DEFAULT_WIKI_PGSRC defines where the English pages reside.
837 ;DEFAULT_WIKI_PGSRC = pgsrc
838 ; These are ':'-seperated pages which will get loaded untranslated from DEFAULT_WIKI_PGSRC.
839 ;DEFAULT_WIKI_PAGES = "ReleaseNotes:SteveWainstead:TestPage"
841 ;=========================================================================
842 ; Part Five: Mark-up options.
843 ;=========================================================================
845 ; Allowed protocols for links - be careful not to allow "javascript:"
846 ; URL of these types will be automatically linked.
847 ; within a named link [name|uri] one more protocol is defined: phpwiki
848 ; Separate each of the protocol names with a vertical pipe, and ensure there
849 ; is no extraneous whitespace.
850 ;ALLOWED_PROTOCOLS = "http|https|mailto|ftp|news|nntp|ssh|gopher"
852 ; URLs ending with the following extension should be inlined as images.
853 ; Specify as per ALLOWED_PROTOCOLS.
854 ; Note that you can now also allow class|svg|svgz|vrml|swf ...,
855 ; which will create embedded <object> instead of <img>.
856 ; Typical CGI extensions as pl or cgi maybe allowed too, but those two will be enforced to <img>
857 ;INLINE_IMAGES = "png|jpg|gif"
859 ; Perl regexp for WikiNames ("bumpy words")
860 ; (?<!..) & (?!...) used instead of '\b' because \b matches '_' as well
861 ;WIKI_NAME_REGEXP = "(?<![[:alnum:]])(?:[[:upper:]][[:lower:]]+){2,}(?![[:alnum:]])"
863 ; Defaults to '/', but '.' was also used.
864 ;SUBPAGE_SEPARATOR = /
866 ; InterWiki linking -- wiki-style links to other wikis on the web
868 ; The map will be taken from a page name InterWikiMap.
869 ; If that page is not found (or is not locked), or map
870 ; data can not be found in it, then the file specified
871 ; by INTERWIKI_MAP_FILE (if any) will be used.
872 ;INTERWIKI_MAP_FILE = lib/interwiki.map
874 ; Display a warning if the internal lib/interwiki.map is used, and
875 ; not the public InterWikiMap page. This file is not readable from outside.
876 ;WARN_NONPUBLIC_INTERWIKIMAP = false
878 ; Search term used for automatic page classification by keyword extraction.
880 ; Any links on a page to pages whose names match this search
881 ; will be used keywords in the keywords html meta tag. This is an aid to
882 ; classification by search engines. The value of the match is
883 ; used as the keyword.
885 ; The default behavior is to match Category* or Topic* links.
886 ;KEYWORDS = "Category* OR Topic*"
888 ; Author and Copyright Site Navigation Links
890 ; These will be inserted as <link rel> tags in the html header of
891 ; every page, for search engines and for browsers like Mozilla which
892 ; take advantage of link rel site navigation.
894 ; If you have your own copyright and contact information pages change
895 ; these as appropriate.
896 ;COPYRIGHTPAGE_TITLE = "GNU General Public License"
897 ;COPYRIGHTPAGE_URL = "http://www.gnu.org/copyleft/gpl.html#SEC1"
898 ; Other useful alternatives to consider:
899 ; COPYRIGHTPAGE_TITLE = "GNU Free Documentation License"
900 ; COPYRIGHTPAGE_URL = "http://www.gnu.org/copyleft/fdl.html"
901 ; COPYRIGHTPAGE_TITLE = "Creative Commons License 2.0"
902 ; COPYRIGHTPAGE_URL = "http://creativecommons.org/licenses/by/2.0/"
903 ; see http://creativecommons.org/learn/licenses/ for variations
904 ;AUTHORPAGE_TITLE = The PhpWiki Programming Team
905 ;AUTHORPAGE_URL = http://phpwiki.org/ThePhpWikiProgrammingTeam
907 ; Allow full markup in headers to be parsed by the CreateToc plugin.
909 ; If false you may not use WikiWords or [] links or any other markup in
910 ; headers in pages with the CreateToc plugin. But if false the parsing is
911 ; faster and more stable.
912 ;TOC_FULL_SYNTAX = true
914 ; If false the %color=... %% syntax will be disabled. Since 1.3.11
916 ;ENABLE_MARKUP_COLOR = false
918 ; Enable mediawiki-style {{TemplatePage|vars=value|...}} syntax. Since 1.3.11
919 ; Default: undefined. Enabled automatically on the MonoBook theme if undefined.
920 ;ENABLE_MARKUP_TEMPLATE = true
922 ;==========================================================================
923 ; Part Six: URL options.
924 ;==========================================================================
926 ; You can probably skip this section.
928 ; The following section contains settings which you can use to tailor
929 ; the URLs which PhpWiki generates.
931 ; Any of these parameters which are left undefined will be deduced
932 ; automatically. You need only set them explicitly if the
933 ; auto-detected values prove to be incorrect.
935 ; In most cases the auto-detected values should work fine, so
936 ; hopefully you don't need to mess with this section.
938 ; In case of local overrides of short placeholders, which themselves
939 ; include index.php, we check for most constants. See '/wiki'.
940 ; We can override DATA_PATH and PHPWIKI_DIR to support multiple phpwiki
941 ; versions (for development), but most likely other values like
942 ; THEME, LANG and DbParams for a WikiFarm.
944 ; Canonical name and httpd port of the server on which this PhpWiki
947 ;SERVER_NAME = some.host.com
950 ; Relative URL (from the server root) of the PhpWiki
952 ;SCRIPT_NAME = /some/where/index.php
954 ; URL of the PhpWiki install directory. (You only need to set this
955 ; if you've moved index.php out of the install directory.) This can
956 ; be either a relative URL (from the directory where the top-level
957 ; PhpWiki script is) or an absolute one.
958 ;DATA_PATH = /home/user/phpwiki
960 ; Path to the PhpWiki install directory. This is the local
961 ; filesystem counterpart to DATA_PATH. (If you have to set
962 ; DATA_PATH, your probably have to set this as well.) This can be
963 ; either an absolute path, or a relative path interpreted from the
964 ; directory where the top-level PhpWiki script (normally index.php)
966 ;PHPWIKI_DIR = /home/user/public_html/phpwiki
968 ; PhpWiki will try to use short urls to pages, eg
969 ; http://www.example.com/index.php/HomePage
970 ; If you want to use urls like
971 ; http://www.example.com/index.php?pagename=HomePage
972 ; then define 'USE_PATH_INFO' as false by uncommenting the line below.
973 ; NB: If you are using Apache >= 2.0.30, then you may need to to use
974 ; the directive "AcceptPathInfo On" in your Apache configuration file
975 ; (or in an appropriate <.htaccess> file) for the short urls to work:
976 ; See http://httpd.apache.org/docs-2.0/mod/core.html#acceptpathinfo
978 ; See also http://phpwiki.sourceforge.net/phpwiki/PrettyWiki for more ideas
979 ; on prettifying your urls.
981 ; Note that Google doesn't follow the default /index.php/PageName links.
982 ; You must use either a PrettyWiki setup (see below), or force USE_PATH_INFO=false.
984 ; Default: PhpWiki will try to divine whether use of PATH_INFO
985 ; is supported in by your webserver/PHP configuration, and will
986 ; use PATH_INFO if it thinks that is possible.
987 ;USE_PATH_INFO = false
989 ; VIRTUAL_PATH is the canonical URL path under which your your wiki
990 ; appears. Normally this is the same as dirname(SCRIPT_NAME), however
991 ; using, e.g. apaches mod_actions (or mod_rewrite), you can make it
992 ; something different.
994 ; If you do this, you should set VIRTUAL_PATH here.
996 ; E.g. your phpwiki might be installed at at /scripts/phpwiki/index.php,
997 ; but * you've made it accessible through eg. /wiki/HomePage.
999 ; One way to do this is to create a directory named 'wiki' in your
1000 ; server root. The directory contains only one file: an .htaccess
1001 ; file which reads something like:
1003 ; Action x-phpwiki-page /scripts/phpwiki/index.php
1004 ; SetHandler x-phpwiki-page
1005 ; DirectoryIndex /scripts/phpwiki/index.php
1007 ; In that case you should set VIRTUAL_PATH to '/wiki'.
1009 ; (VIRTUAL_PATH is only used if USE_PATH_INFO is true.)
1011 ;VIRTUAL_PATH = /SomeWiki
1013 ; In case your system has no idea about /tmp, TEMP or TMPDIR,
1014 ; better provide it here. E.g. needed for zipdumps.
1017 ;===========================================================================
1018 ; Part Seven: Miscellaneous settings
1019 ;===========================================================================
1021 ; Disable HTTP redirects.
1022 ; (You probably don't need to touch this.)
1024 ; PhpWiki uses HTTP redirects for some of it's functionality.
1025 ; (e.g. after saving changes, PhpWiki redirects your browser to
1026 ; view the page you just saved.)
1027 ; Some web service providers (notably free European Lycos) don't seem to
1028 ; allow these redirects. (On Lycos the result in an "Internal Server Error"
1029 ; report.) In that case you can set DISABLE_HTTP_REDIRECT to true.
1030 ; (In which case, PhpWiki will revert to sneakier tricks to try to
1031 ; redirect the browser...)
1032 ;DISABLE_HTTP_REDIRECT = true
1034 ; Enable random quotes from a fortune directory when adding a new page.
1035 ; Usually at /usr/share/fortune or /usr/share/games/fortune
1036 ; If empty no quotes are inserted.
1037 ;FORTUNE_DIR = /usr/share/fortune
1039 ; If you get a crash at loading LinkIcons you might want to disable
1040 ; the getimagesize() function, which crashes on certain php versions and
1041 ; and some external images (png's, ..).
1042 ; getimagesize() is only needed for spam prevention.
1043 ;DISABLE_GETIMAGESIZE = true
1045 ; Experimental: For using the Google API
1046 ;GOOGLE_LICENSE_KEY = "..."
1048 ; Optional: administrative SQL DB access (for action=upgrade)
1052 ; Optional: external PDF executable, %s is the xhtml filename
1053 ;USE_EXTERNAL_HTML2PDF = "htmldoc --quiet --format pdf14 --no-toc --no-title %s"
1055 ; Optional: SPAMASSASSIN wrapper. Only used if ENABLE_SPAMASSASSIN = true
1056 BABYCART_PATH = /usr/local/bin/babycart
1058 ; If true don't use UserName/Blog/day/time pagenames for the ADMIN_USER, but
1059 ; Blog/day/time only. Convenience for a single-user blog theme.
1060 ;BLOG_DEFAULT_EMPTY_PREFIX = true
1062 ; Add additional EDIT_TOOLBAR buttons if defined:
1063 ; Insert a pagelink from this list:
1064 ;TOOLBAR_PAGELINK_PULLDOWN = *
1065 ; Insert a template from this list:
1066 ;TOOLBAR_TEMPLATE_PULLDOWN = Template*
1068 ;===========================================================================
1069 ; Part Eight: PLUGINCACHED Pear/Cache Settings
1070 ;===========================================================================
1072 ; Cache_Container storage class: 'file' is the fastest. See pear/Cache/Container/
1073 ;PLUGIN_CACHED_DATABASE = file
1075 ; This is only used if database is set to file.
1076 ; The webserver must have write access to this dir!
1077 ;PLUGIN_CACHED_CACHE_DIR = /tmp/cache
1078 ; Every file name in the cache begins with this prefix
1079 ;PLUGIN_CACHED_FILENAME_PREFIX = phpwiki
1081 ; The maximum total space in bytes of all files in the cache. When
1082 ; highwater is exceeded, a garbage collection will start. It will
1083 ; collect garbage till 'lowwater' is reached. Default: 4 * Megabyte
1084 ;PLUGIN_CACHED_HIGHWATER = 4194304
1085 ; Default: 3 * Megabyte
1086 ;PLUGIN_CACHED_LOWWATER = 3145728
1088 ; If an image has not been used for maxlifetime remove it from the
1089 ; cache. (Since there is also the highwater/lowwater mechanism and an
1090 ; image usually requires only 1kb you don't have to make it very
1092 ; Default: 30 * Day (30 * 24*60*60)
1093 ;PLUGIN_CACHED_MAXLIFETIME = 2592000
1095 ; Number of characters allowed to be send as
1096 ; parameters in the url before using sessions
1098 ; Usually send plugin arguments as URL, but when they become
1099 ; longer than maxarglen store them in session variables.
1100 ; Setting it to 3000 worked fine for me, 30000 completely
1101 ; crashed my linux, 1000 should be safe.
1102 ;PLUGIN_CACHED_MAXARGLEN = 1000
1104 ; Actually use the cache (should be always true unless you are
1105 ; debugging). If you want to avoid the usage of a cache but need
1106 ; WikiPlugins that nevertheless rely on a cache you might set
1107 ; 'PLUGIN_CACHED_USECACHE' to false. You still need to set
1108 ; 'PLUGIN_CACHED_CACHE_DIR' appropriately to allow image creation and
1109 ; you should set 'PLUGIN_CACHED_FORCE_SYNCMAP' to false.
1110 ;PLUGIN_CACHED_USECACHE = true
1112 ; Will prevent image creation for an image map 'on demand'. It is a
1113 ; good idea to set this to 'true' because it will also prevent the
1114 ; html part not to fit to the image of the map. If you don't use a
1115 ; cache, you have to set it to 'false', maps will not work otherwise
1116 ; but strange effects may happen if the output of an image map
1117 ; producing WikiPlugin is not completely determined by its parameters.
1118 ; (As it is the case for a graphical site map.)
1119 ;PLUGIN_CACHED_FORCE_SYNCMAP = true
1121 ; If ImageTypes() does not exist (PHP < 4.0.2) allow the
1122 ; following image formats (IMG_PNG | IMG_GIF | IMG_JPG | IMG_WBMP)
1123 ; In principal all image types which are compiled into php:
1124 ; libgd, libpng, libjpeg, libungif, libtiff, libgd2, ...
1125 ;PLUGIN_CACHED_IMGTYPES = "png|gif|gd|gd2|jpeg|wbmp|xbm|xpm"