History log of /dokuwiki/inc/init.php (Results 76 – 100 of 231)
Revision Date Author Comments
# 585bf44e 06-Mar-2014 Christopher Smith <chris@jalakai.co.uk>

amend $_SERVER to $INPUT->server


# f87b5dbb 05-Mar-2014 Christopher Smith <chris@jalakai.co.uk>

use isset() + ?: or error suppression where value may not be set


# 0e80bb5e 05-Mar-2014 Christopher Smith <chris@jalakai.co.uk>

use empty() where array values might not be set


# 55a71a16 04-Mar-2014 Gerrit Uitslag <klapinklapin@gmail.com>

removed pre PHP 5.2 code wrt setcookie and session setting

- moved cookiedir determination in the if-statement


# c09f0eb1 28-Feb-2014 Gerrit Uitslag <klapinklapin@gmail.com>

define overridable constants for session properties FS#1913


# 8d443db5 20-Feb-2014 Gerrit Uitslag <klapinklapin@gmail.com>

remove 'fix dateformat config for upgraders' FS#2073


# d9529222 20-Oct-2013 Andreas Gohr <andi@splitbrain.org>

Merge pull request #380 from splitbrain/phpstrict

Php strict


# 443e135d 16-Oct-2013 Christopher Smith <chris@jalakai.co.uk>

replace boolean conditional checks on possibly uninitialized vars with \!empty/empty/isset as appropriate


# 1d82c8d3 16-Oct-2013 Christopher Smith <chris@jalakai.co.uk>

Ensure language strings are reloaded for each unit test


# 93a7873e 06-Oct-2012 Andreas Gohr <andi@splitbrain.org>

Merge remote-tracking branch 'janschumann/master' into future

This merge fixes all conflicts but is otherwise untested and might break
funktionality in the auth system somewhere. It NEEDS MAJOR TEST

Merge remote-tracking branch 'janschumann/master' into future

This merge fixes all conflicts but is otherwise untested and might break
funktionality in the auth system somewhere. It NEEDS MAJOR TESTING!

Some refactoring of the auth plugins is still needed:

* move to PHP5 style
* fix comments
* add plugin.info.txt

* janschumann/master:
Refactored auth system: All auth methods are now introduced as plugins.
Bugfix: auth types are now correcty added
Setup auth system from plugins
Added Auth-Plugin-Prototype to autoload
Load auth types from plugins in settings_authtype class
Added prototype for Auth-Plugins
added plugin type 'auth'

Conflicts:
inc/auth.php
inc/auth/pgsql.class.php
inc/init.php
inc/load.php
lib/plugins/auth.php
lib/plugins/authad/auth.php
lib/plugins/authldap/auth.php
lib/plugins/authmysql/auth.php
lib/plugins/authplain/auth.php

show more ...


# c114d4c4 26-Aug-2012 Andreas Gohr <andi@splitbrain.org>

don't call set_magic_quotes_runtime if it doesn't exists FS#2583

this function was removed in PHP 5.4.0


# 99e10b7f 24-Aug-2012 Michael Hamann <michael@content-space.de>

Always disable compression when sitemaps are delivered

The class loader isn't available at that place in inc/init.php so the
check if the sitemap is compressed didn't work.


# 65f6e7d6 24-Aug-2012 Michael Hamann <michael@content-space.de>

Disable compression when a compressed sitemap might be delivered FS#2576

Compressing a gzip file again for transport is standards compliant, but
some clients assume that the file is only compressed

Disable compression when a compressed sitemap might be delivered FS#2576

Compressing a gzip file again for transport is standards compliant, but
some clients assume that the file is only compressed once then and don't
remove the outer compression layer. This could disable compression in
too many cases theses cases should be rare and shouldn't cause any
problems.

show more ...


# c8839c22 14-Jul-2012 Anika Henke <anika@selfthinker.org>

changed all doctypes to html5 doctype


# 3272d797 25-Jun-2012 Andreas Gohr <andi@splitbrain.org>

some code cleanup and php docs


# 89177306 24-Jun-2012 Andreas Gohr <andi@splitbrain.org>

Introducing a $_REQUEST/POST/GET wrapper

This new wrapper ensures types are correct and accessed parameters are
actually set (with custom default fallbacks).

The wrapper is available in the global

Introducing a $_REQUEST/POST/GET wrapper

This new wrapper ensures types are correct and accessed parameters are
actually set (with custom default fallbacks).

The wrapper is available in the global $INPUT variable. It accesses
$_REQUEST by default. If POST or GET is required, the post and get
members can be used:

$INPUT->int('foo',false); // access $_REQUEST['foo'], default false
$INPUT->post->int('foo'); // access $_POST['foo'], default 0
$INPUT->get->int('foo'); // access $_GET['foo'], default 0

The codebase still needs to be updated to make use of this.

show more ...


# 7f086b67 27-May-2012 Anika Henke <anika@selfthinker.org>

improved earlier change for paths error messages to not produce any notices


# 6b9c156c 27-May-2012 Anika Henke <anika@selfthinker.org>

improved error message for savedir paths (FS#2502)


# 3a6d7607 14-Mar-2012 Dominik Eckelmann <deckelmann@gmail.com>

Merge branch 'master' of https://github.com/splitbrain/dokuwiki

Conflicts:
lib/exe/xmlrpc.php


# 9189204a 10-Mar-2012 Andreas Gohr <andi@splitbrain.org>

Merge branch 'jscachekey'

* jscachekey:
trigger JS_CACHE_USE in lib/exe/js.php
added INIT_LANG_LOAD event
let js.php use multiple caches


# c4766956 30-Jan-2012 Andreas Gohr <andi@splitbrain.org>

DOKU_TPL* considered harmful

Some plugins want to dynamically switch the template based on users,
namspaces or the phase of the moon. Having fixed paths in a unchangable
constant prevents this.

Thi

DOKU_TPL* considered harmful

Some plugins want to dynamically switch the template based on users,
namspaces or the phase of the moon. Having fixed paths in a unchangable
constant prevents this.

This changes deprecates the DOKU_TPL* constants in favor of two new
tpl_* functions that return the correct paths based on the $conf
variables which can be changed from the DOKUWIKI_STARTED event.

show more ...


# 6d06b26a 24-Jan-2012 Dominik Eckelmann <eckelmann@cosmocode.de>

added INIT_LANG_LOAD event


# 4fcd684a 15-Jan-2012 Michael Hamann <michael@content-space.de>

Disable E_STRICT error reporting

This change disables the reporting of strict standard errors in PHP 5.4,
in PHP versions prior to 5.4 E_STRICT wasn't part of E_ALL so for
these versions this doesn'

Disable E_STRICT error reporting

This change disables the reporting of strict standard errors in PHP 5.4,
in PHP versions prior to 5.4 E_STRICT wasn't part of E_ALL so for
these versions this doesn't cause any change (however E_STRICT is
available in all versions of PHP 5 so this doesn't cause any problems).
See also FS#2427.

show more ...


# eb274bf3 02-Jan-2012 Jan Schumann <js@schumann-it.com>

added plugin type 'auth'


# a4e0e797 19-Nov-2011 Dominik Eckelmann <deckelmann@gmail.com>

enabled remote as plugintype


12345678910