History log of /dokuwiki/inc/init.php (Results 151 – 175 of 235)
Revision Date Author Comments
# 7ba41511 22-Jun-2008 Michael Klier <chi@chimeric.de>

added DOKUWIKI_INIT event

This patch adds a new event DOKUWIKI_INIT to the event system. The event is
triggered in inc/init.php right after DOKU_INC has been defined and allows
action plugins to

added DOKUWIKI_INIT event

This patch adds a new event DOKUWIKI_INIT to the event system. The event is
triggered in inc/init.php right after DOKU_INC has been defined and allows
action plugins to interfere with DokuWiki s init process.

darcs-hash:20080622144154-23886-5153094bd78c2cea7f97e24c7b41cac6c641f49f.gz

show more ...


# b934b851 12-Apr-2008 ilya <ilya@lebedev.net>

fix for UNC paths

This patch fixes use of UNC path in $conf['savedir'] and calling of /bin/ scripts.

darcs-hash:20080412124628-51399-9f85214fa4d787d5ad3a3b3c1ca655a29efc07e4.gz


# 46c73e01 18-Apr-2008 Chris Smith <chris.eureka@jalakai.co.uk>

Update GetBaseURL() to avoid multiple consecutive slashes in absolute return values (incl. test cases)

darcs-hash:20080418101946-f07c6-615691fab5d4b5714134634b38567ca8422a0aa0.gz


# 6deb5405 09-Apr-2008 Andreas Gohr <andi@splitbrain.org>

try to increase the PCRE backtrack limit

This should avoid problems with larger pages on newer PHP versions.
See http://www.freelists.org/archives/dokuwiki/04-2008/msg00049.html

darcs-hash:20080409

try to increase the PCRE backtrack limit

This should avoid problems with larger pages on newer PHP versions.
See http://www.freelists.org/archives/dokuwiki/04-2008/msg00049.html

darcs-hash:20080409181615-7ad00-de4f7a0602692b28e048d215c2e2b9657f96b81c.gz

show more ...


# de33a58f 27-Feb-2008 Michael Klier <chi@chimeric.de>

introducing the new tmp dir

darcs-hash:20080227215640-23886-606fc55ada5d6c3c80f14967746ec6aa0a4b3321.gz


# e656dcd4 23-Feb-2008 Andreas Gohr <andi@splitbrain.org>

use strftime() instead of date() FS#1335 :!:

This patch replaces the use of the date() function with the strftime()
function. The latter will respect a set locale and will use localized
strings for

use strftime() instead of date() FS#1335 :!:

This patch replaces the use of the date() function with the strftime()
function. The latter will respect a set locale and will use localized
strings for things like month names.

Because the format options for strftime differ from the ones used in date,
DokuWiki will rest the value of $conf['dformat'] if it contains an old
date format string (detected by missing % characters).

Plugins or templates using the $conf['dformat'] need to be updated.

darcs-hash:20080223124045-7ad00-6afb2b839afc58781463e25577e06adb675fff79.gz

show more ...


# 8b11f0a5 24-Jan-2008 Andreas Gohr <andi@splitbrain.org>

Probably fixes cookie loss on https/http switch FS#1174

darcs-hash:20080124211231-7ad00-5d9f8e834be5d7d3abc772ad7c956455258dad59.gz


# ef38bfe8 30-Sep-2007 Andreas Gohr <andi@splitbrain.org>

fullpath fix for Windows

darcs-hash:20070930214958-7ad00-bc8ca26f86ea4c9e68ea2b8f3cacc2a598543122.gz


# 00976812 30-Sep-2007 Andreas Gohr <andi@splitbrain.org>

don't use realpath() anymore (FS#1261 and others)

The use of realpath() to clean up relative file names caused some
trouble in certain setups relying on symlinks or having restricitve
file structure

don't use realpath() anymore (FS#1261 and others)

The use of realpath() to clean up relative file names caused some
trouble in certain setups relying on symlinks or having restricitve
file structure setups.

This patch replaces all realpath() calls with a PHP only replacement
which should solve those problems.

darcs-hash:20070930184250-7ad00-512ff04c95f57fc9eaf104f80372237a3c94286f.gz

show more ...


# 81c54349 19-Aug-2007 Andreas Gohr <andi@splitbrain.org>

fix for magic quote fixing inside array keys

darcs-hash:20070819211952-7ad00-a1a321178ef3c5a85b2e422a01eda8066eb10588.gz


# b8595a66 05-Aug-2007 Andreas Gohr <andi@splitbrain.org>

separated TOC from page

This patch introduces a tpl_toc() function which can be used to freely place
the Table of Contents in a template. When used, tpl_content should be called
with a parameter of

separated TOC from page

This patch introduces a tpl_toc() function which can be used to freely place
the Table of Contents in a template. When used, tpl_content should be called
with a parameter of false to supress the automatic TOC placement.

Note: if tpl_toc() us run *before* tpl_content(), TOCs will not work in the
preview. A work around is to run tpl_content() in a output buffer first.

This patch also adds a getTOC() function for admin plugins which allows plugin
authors to put create their own TOC which will be placed correctly in the
template. A convenience function html_mktocitem() is available.

The config manager was adjusted to make ue of this new feature, but some bugs
might remain.

darcs-hash:20070805132405-7ad00-77d2c3cdf66cc62b2d408cc6580f938636a109af.gz

show more ...


# 4b1a4e04 03-Jun-2007 Andreas Gohr <andi@splitbrain.org>

never use full URL in cookie paths FS#1146

Introduces a DOKU_REL constant always pointing to the DokuWiki directory regardless
of the used canonical setting.

darcs-hash:20070603191451-7ad00-a5227a3

never use full URL in cookie paths FS#1146

Introduces a DOKU_REL constant always pointing to the DokuWiki directory regardless
of the used canonical setting.

darcs-hash:20070603191451-7ad00-a5227a3632b3337f5da90551d3166d9b5db56638.gz

show more ...


# 8a447e5c 14-May-2007 Andreas Gohr <andi@splitbrain.org>

typo fix in compression method check FS#919

darcs-hash:20070514165529-7ad00-bf2cd39a2e34b03aa8d10dd8ca943b0b27127e79.gz


# d7e6bba9 14-May-2007 Andreas Gohr <andi@splitbrain.org>

disable any possibly configured global zlib compression FS#1132

darcs-hash:20070514164557-7ad00-7a40f60658af5e626698b4a262f5e70168c5c896.gz


# a1637ffd 13-May-2007 Andreas Gohr <andi@splitbrain.org>

rebuild $_REQUEST manually to avoid cookie interference FS#1104

darcs-hash:20070513181524-7ad00-20cb0328fc1b2881120d825f74ec032a5171f782.gz


# 1983acc2 24-Apr-2007 Guy Brand <gb@isis.u-strasbg.fr>

Typo in default nice_die message

darcs-hash:20070424211611-19e2d-ae76695e8114a064b5cebc2cad6fd55e7030e096.gz


# f77429b8 26-Mar-2007 Andreas Gohr <andi@splitbrain.org>

set scope for session cookies FS#1109

darcs-hash:20070326180948-7ad00-c35eeabfe0d77e9decfd4fc6d776eaaa72be219c.gz


# 3a3e1c5f 11-Dec-2006 Mike Frysinger <vapier@gentoo.org>

make setup error a little more verbose

if a subdir is not setup properly, then init_paths() in inc/init.php will use
the pretty name ("datadir" instead of "pages"; "olddir" instead of "attic").
atta

make setup error a little more verbose

if a subdir is not setup properly, then init_paths() in inc/init.php will use
the pretty name ("datadir" instead of "pages"; "olddir" instead of "attic").
attached patch simply includes the actual directory name in the output so
people dont have to look it up in the source
code.

darcs-hash:20061211194244-5224c-2d22eeb08d770108d1d993783e95d11bef0e8855.gz

show more ...


# 0a7e3bce 26-Nov-2006 chris <chris@jalakai.co.uk>

metadata update to support both persistent and non-persistent metadata

Key changes:
- metadata stored on disk in two arrays, 'current' & 'persistent'
- p_set_metadata has an additional parameter, $p

metadata update to support both persistent and non-persistent metadata

Key changes:
- metadata stored on disk in two arrays, 'current' & 'persistent'
- p_set_metadata has an additional parameter, $persistent, which defaults to true
- metadata set within the renderer defaults to non-persistent
- new event hook, PARSER_METADATA_RENDER, which wraps around metadata rendering process. For
full details of this event refer to the event list documentation at splitbrain.

The patch includes automatic conversion of metadata in current form to the new format

For more details also see http://www.freelists.org/archives/dokuwiki/11-2006/msg00221.html
and any follow-up messages.

darcs-hash:20061126152144-9b6ab-a4e40c221e0274b13da07dc2fc1d2100f5f3a50e.gz

show more ...


# 579b0f7e 12-Nov-2006 TNHarris <telliamed@fastmail.us>

Word-Length Indexer

A modification to the indexer that sorts words based on length. This should make
searching a little bit more efficient. After the patch is applied, your old index
will be automat

Word-Length Indexer

A modification to the indexer that sorts words based on length. This should make
searching a little bit more efficient. After the patch is applied, your old index
will be automatically converted to the new format (when you visit a page). The
new index format is:

1. Index files are stored in savedir/index
2. Word lists are stored as wlen.idx. This used to be word.idx.
3. Word indexes are stored as ilen.idx. This used to be index.idx.
4. The page list, page.idx, is simply copied to the new location.

Any plugins you have, such as the blog plugin, that read the index files need to
be updated.

darcs-hash:20061112194900-2b9f0-a975498ccf0a1d39c6df73b79bcd028d5e81c389.gz

show more ...


# e71ce681 03-Oct-2006 Andreas Gohr <andi@splitbrain.org>

use DOKU_URL as key for sessions and auth cookie #896 #581 #884

This patch changes the DOKU_COOKIE define to be based on the DOKU_URL define.
DOKU_COOKIE is now used as session key as well, making s

use DOKU_URL as key for sessions and auth cookie #896 #581 #884

This patch changes the DOKU_COOKIE define to be based on the DOKU_URL define.
DOKU_COOKIE is now used as session key as well, making sessions no longer
dependend on the title option. This should fix problems with multiple
wikis on the same host (using the same title) and wikis accessed through
different URLs.

darcs-hash:20061003121546-7ad00-aea4c256b7752815ed422ce74a659152a601d267.gz

show more ...


# bb4866bd 23-Sep-2006 chris <chris@jalakai.co.uk>

minor bugfix and boring error removal

darcs-hash:20060923203609-9b6ab-ecca679faa254a29772868508050fcf3206b0814.gz


# a424cd8e 23-Sep-2006 chris <chris@jalakai.co.uk>

add authname memory cache

actions which concern multiple pages (e.g. search, backlinks, recents)
end up repeatedly encoding the current user's name and groups. This
change caches the results of the

add authname memory cache

actions which concern multiple pages (e.g. search, backlinks, recents)
end up repeatedly encoding the current user's name and groups. This
change caches the results of the encoding allowing them to be reused.

darcs-hash:20060923161206-9b6ab-a3ec8f1c2ec284d84b9ff85cba1e56165b2967a7.gz

show more ...


# d8186216 08-Sep-2006 Ben Coburn <btcoburn@silicodon.net>

suppress boring errors

Suppress any errors from set_time_limit,
unlink, and file_exists functions.
see: http://www.freelists.org/archives/dokuwiki/09-2006/msg00004.html

darcs-hash:20060908193433-05

suppress boring errors

Suppress any errors from set_time_limit,
unlink, and file_exists functions.
see: http://www.freelists.org/archives/dokuwiki/09-2006/msg00004.html

darcs-hash:20060908193433-05dcb-013617431870ab5bfb2ce8c6e99ba5af13493228.gz

show more ...


# bc3e97be 30-Aug-2006 Andreas Gohr <andi@splitbrain.org>

conflict resolution for memory cache init

darcs-hash:20060830210459-7ad00-8f7a2ae826d5f893d3e48f41c8ae868987ec0dd2.gz


12345678910