History log of /dokuwiki/inc/compatibility.php (Results 1 – 12 of 12)
Revision Date Author Comments
# 3f8a89e5 27-Mar-2024 splitbrain <86426+splitbrain@users.noreply.github.com>

�� Rector and PHPCS fixes


# 7bb40883 22-Feb-2024 Andreas Gohr <andi@splitbrain.org>

adjust compatibility string methods. fixes #4221

This uses the implementations from https://github.com/symfony/polyfill-php80

Not only does it fix signature compatibility by accepting null strings

adjust compatibility string methods. fixes #4221

This uses the implementations from https://github.com/symfony/polyfill-php80

Not only does it fix signature compatibility by accepting null strings
but it also adjust the handling of falsy values (like 0)

show more ...


# 36d03388 28-Nov-2023 Andreas Gohr <andi@splitbrain.org>

JSON-RPC: we do not support named parameters

Even though this would be valid in JSON-RPC 2.0 we don't support it
currently. This adds the proper error handling for that.


# d4f83172 31-Aug-2023 Andreas Gohr <andi@splitbrain.org>

code style: line breaks


# a4c648ff 31-Aug-2023 Andreas Gohr <andi@splitbrain.org>

polyfills for str_(starts_with|ends_with|contains)


# 177d6836 31-Aug-2023 Andreas Gohr <andi@splitbrain.org>

coding style: control flow whitespaces


# 316e3ee6 30-Aug-2023 Andreas Gohr <andi@splitbrain.org>

codestyle adjustments: EOF new lines


# d868eb89 30-Aug-2023 Andreas Gohr <andi@splitbrain.org>

codestyle adjustments: function declaration braces/spaces


# 3f6872b1 17-May-2020 Myron Turner <turnermm02@shaw.ca>

Checks for PHP mail in install.php and warns if mail used after install (#3056)

* Checks for PHP mail in install.php and warns if mail used after install.

* fixed spacing in instal.php

* Recon

Checks for PHP mail in install.php and warns if mail used after install (#3056)

* Checks for PHP mail in install.php and warns if mail used after install.

* fixed spacing in instal.php

* Reconfigured warning message and code for PHP mail not existing or disabled. Removed the substitute mail function in inc/compatibility.php

* fixed some spacing errors in install.php

* Adds warning to error_log when call is made to unavailable PHP mail function and posts the warning to browser top if current user is admin.

* adds newline at end of compatibility.php and $lang global to Mailer.class.php

* Changes to handling of msg and `return false` as suggested by @phy25

* Removed tab from lilne 719

* removed additional tabs from Mailer.class.php

* Update inc/Mailer.class.php

removes unnecessary object

* Update inc/Mailer.class.php

changed msg styling for msg_managers_only warning for no PHP mail function

* Update inc/Mailer.class.php

* Update inc/Mailer.class.php

show more ...


# 8457f8ce 14-Oct-2014 Andreas Gohr <andi@splitbrain.org>

another fix for broken gzlib linking #865


# 92b9f196 27-Sep-2014 Andreas Gohr <andi@splitbrain.org>

work around missing gzopen on certain systems #865


# 6589c60c 30-Oct-2013 Andreas Gohr <andi@splitbrain.org>

compatibility functions for missing ctype extension FS#2873