summaryrefslogtreecommitdiff
path: root/inc/init.php
Commit message (Collapse)AuthorAge
* added composer setup and the first composer package php-archiveAndreas Gohr2015-05-15
|
* consistency: failure exit with status code 1Elan Ruusamäe2015-02-10
|
* Remove error supression for file_exists()Andreas Gohr2015-01-07
| | | | | | | In an older version of PHP a file_exists() call would issue a warning when the file did not exist. This was fixed in later PHP releases. Since we require PHP 5.3 now, there's no need to supress any error here anymore. This might even give a minor performance boost.
* Merge remote-tracking branch 'splitbrain/master'Gerry Weißbach2014-12-22
|\
| * Move check after libraries are loaded, so that $conf['compression'] is not ↵Danny Lin2014-10-31
| | | | | | | | turned off in the case that gzopen doesn't exist while gzopen64 does exist, as inc/compatibility.php ought to have fixed.
| * Merge remote-tracking branch 'origin/master' into overridablelangstringsGerrit Uitslag2014-09-28
| |\ | | | | | | | | | | | | Conflicts: inc/plugin.php
| | * adding X-Forwarded-Proto support in is_ssl()Enrico Tagliavini2014-07-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds support for X-Forwarded-Proto in case dokuwiki runs behind a reverse (SSL) proxy, but the connection between the proxy and the web server running dokuwki is plain HTTP. If an authenticated user is accidentaly dropped to HTTP from HTTPS the securecookie setting should be honored and the redirection when saving or canceling a page edit should point to the correct protocol. This happens every time a user hits cancel after editing a page, and likely even after saving. If the webserver doesn't enforce HTTPS the coockie might be sent in clear.
| * | use config cascade for loading of localizationsGerrit Uitslag2014-09-28
| | |
| * | extend lang file cascade, so users can override some lang stringsGerrit Uitslag2014-05-13
| |/ | | | | | | Fixes #692
* | Merge remote-tracking branch 'splitbrain/master'Gerry Weißbach2014-07-16
|\|
| * amend $_SERVER to $INPUT->serverChristopher Smith2014-03-06
| |
| * use isset() + ?: or error suppression where value may not be setChristopher Smith2014-03-05
| |
| * use empty() where array values might not be setChristopher Smith2014-03-05
| |
| * removed pre PHP 5.2 code wrt setcookie and session settingGerrit Uitslag2014-03-04
| | | | | | | | - moved cookiedir determination in the if-statement
| * define overridable constants for session properties FS#1913Gerrit Uitslag2014-02-28
| |
| * remove 'fix dateformat config for upgraders' FS#2073Gerrit Uitslag2014-02-20
| |
* | Check for basedir and baseurlGerry Weißbach2014-06-30
|/ | | | | If these configuration values are not set php will throw an unnecessary NOTICE.
* Merge pull request #380 from splitbrain/phpstrictAndreas Gohr2013-10-20
|\ | | | | Php strict
| * replace boolean conditional checks on possibly uninitialized vars with ↵Christopher Smith2013-10-16
| | | | | | | | \!empty/empty/isset as appropriate
* | Ensure language strings are reloaded for each unit testChristopher Smith2013-10-16
|/
* Merge remote-tracking branch 'janschumann/master' into futureAndreas Gohr2012-10-06
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * added plugin type 'auth'Jan Schumann2012-01-02
| |
* | don't call set_magic_quotes_runtime if it doesn't exists FS#2583Andreas Gohr2012-08-26
| | | | | | | | this function was removed in PHP 5.4.0
* | Always disable compression when sitemaps are deliveredMichael Hamann2012-08-24
| | | | | | | | | | The class loader isn't available at that place in inc/init.php so the check if the sitemap is compressed didn't work.
* | Disable compression when a compressed sitemap might be delivered FS#2576Michael Hamann2012-08-24
| | | | | | | | | | | | | | | | 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.
* | changed all doctypes to html5 doctypeAnika Henke2012-07-14
| |
* | some code cleanup and php docsAndreas Gohr2012-06-25
| |
* | Introducing a $_REQUEST/POST/GET wrapperAndreas Gohr2012-06-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | improved earlier change for paths error messages to not produce any noticesAnika Henke2012-05-27
| |
* | improved error message for savedir paths (FS#2502)Anika Henke2012-05-27
| |
* | Merge branch 'master' of https://github.com/splitbrain/dokuwikiDominik Eckelmann2012-03-14
|\ \ | | | | | | | | | | | | Conflicts: lib/exe/xmlrpc.php
| * \ Merge branch 'jscachekey'Andreas Gohr2012-03-10
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | * jscachekey: trigger JS_CACHE_USE in lib/exe/js.php added INIT_LANG_LOAD event let js.php use multiple caches
| | * | added INIT_LANG_LOAD eventDominik Eckelmann2012-01-24
| | | |
| * | | DOKU_TPL* considered harmfulAndreas Gohr2012-01-30
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * / Disable E_STRICT error reportingMichael Hamann2012-01-15
| |/ | | | | | | | | | | | | | | 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.
* / enabled remote as plugintypeDominik Eckelmann2011-11-19
|/
* mergingKate Arzamastseva2011-08-25
|\
| * Merge pull request #19 from gbirke/masterDominik Eckelmann2011-08-18
| |\ | | | | | | Make cookie path configurable
| | * If cookiedir is configured, use it.Gabriel Birke2011-01-02
| | | | | | | | | | | | If $conf['cookiedir'] is set, use this setting instead of DOKU_REL.
* | | media version savingKate Arzamastseva2011-05-26
|/ /
* | Minor: Edited the delta_time function for php5Piyush Mishra2011-03-21
| |
* | Merge branch 'master' into indexer_rewriteMichael Hamann2011-02-24
|\ \ | | | | | | | | | | | | | | | | | | Conflicts: inc/fulltext.php inc/indexer.php lib/exe/indexer.php
| * | made config cascade more flexibleRoland Hager2011-02-06
| | |
* | | Merge branch 'master' into indexer_improvementsMichael Hamann2011-01-23
|\| | | | | | | | | | | | | | | | | | | | Conflicts: inc/fulltext.php inc/indexer.php lib/exe/indexer.php
| * | Fix getBaseURL for literal IPv6 addresses in URLs (RFC 2732) + test caseMichael Hamann2011-01-16
| | |
| * | more robust hostname detectionAndreas Gohr2010-12-18
| |/ | | | | | | | | as discussed in http://www.freelists.org/post/dokuwiki/git-changes-20101209,7
* / Indexer v3 Rewrite part two, update uses of indexerTom N Harris2010-12-29
|/
* handle mailfrom replacements in a central place FS#2091Andreas Gohr2010-11-05
|
* remove deprecated scriptify() mechanismAndreas Gohr2010-10-18
|
* moved default config cascade to its own fileAndreas Gohr2010-06-27
|