From: <var...@us...> - 2021-06-23 17:34:31
|
Revision: 10320 http://sourceforge.net/p/phpwiki/code/10320 Author: vargenau Date: 2021-06-23 17:34:31 +0000 (Wed, 23 Jun 2021) Log Message: ----------- php7:notice PHP Deprecated: Array and string offset access syntax with curly braces is deprecated Modified Paths: -------------- trunk/lib/pear/Cache/Container/file.php Modified: trunk/lib/pear/Cache/Container/file.php =================================================================== --- trunk/lib/pear/Cache/Container/file.php 2021-06-23 17:28:30 UTC (rev 10319) +++ trunk/lib/pear/Cache/Container/file.php 2021-06-23 17:34:31 UTC (rev 10320) @@ -109,7 +109,7 @@ if ($this->cache_dir) { // make relative paths absolute for use in deconstructor. // it looks like the deconstructor has problems with relative paths - if (OS_UNIX && '/' != $this->cache_dir{0} ) + if (OS_UNIX && '/' != $this->cache_dir[0] ) $this->cache_dir = realpath( getcwd() . '/' . $this->cache_dir) . '/'; // check if a trailing slash is in cache_dir This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |