Resolves #64524: SJBR\SrFreecap\Domain\Model\Font raises warning on PHP 5.4+
authorstan <stan@735d13b6-9817-0410-8766-e36946ffe9aa>
Wed, 1 Apr 2015 00:23:34 +0000 (00:23 +0000)
committerstan <stan@735d13b6-9817-0410-8766-e36946ffe9aa>
Wed, 1 Apr 2015 00:23:34 +0000 (00:23 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/sr_freecap/trunk@88552 735d13b6-9817-0410-8766-e36946ffe9aa

ChangeLog
doc/manual.sxw
ext_tables.php

index a7001bd..1363dac 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,11 @@
+2015-03-31  Stanislas Rolland  <typo3@sjbr.ca>
+
+       * Resolves #64524: SJBR\SrFreecap\Domain\Model\Font raises warning on PHP 5.4+
+
 2015-03-18  Stanislas Rolland  <typo3@sjbr.ca>
 
        * Resolves #65649: $this->freeCap->checkWord accepts empty postvar
+       * Resolves #64524: SJBR\SrFreecap\Domain\Model\Font raises warning on PHP 5.4+
 
 2015-02-10  Stanislas Rolland  <typo3@sjbr.ca>
 
index b358407..812aecd 100644 (file)
Binary files a/doc/manual.sxw and b/doc/manual.sxw differ
index 11a9c15..3dfa3cd 100644 (file)
@@ -12,8 +12,9 @@ if (TYPO3_MODE == 'BE' && !(TYPO3_REQUESTTYPE & TYPO3_REQUESTTYPE_INSTALL)) {
         */
        // GDlib is a requirement for the Font Maker module
        if ($GLOBALS['TYPO3_CONF_VARS']['GFX']['gdlib']) {
-               //SJBR\SrFreecap\Domain\Model\Font uses declare(encoding='ISO-8859-2') which requires:
-               ini_set('zend.multibyte', 'On');
+               // SJBR\SrFreecap\Domain\Model\Font uses declare(encoding='ISO-8859-2') which, since PHP 5.4 requires zend.multibyte to be set to On'.
+               // However, this has to be set in php.ini, .htaccess, httpd.conf or .user.ini, because the setting zend.multibyte is of type PHP_INI_PERDIR
+               // See http://php.net/manual/en/configuration.changes.modes.php
                \TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule(
                        'SJBR.' . $_EXTKEY,
                        // Make module a submodule of 'tools'