From: <var...@us...> - 2021-06-23 17:46:03
|
Revision: 10321 http://sourceforge.net/p/phpwiki/code/10321 Author: vargenau Date: 2021-06-23 17:46:03 +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:34:31 UTC (rev 10320) +++ trunk/lib/pear/Cache/Container/file.php 2021-06-23 17:46:03 UTC (rev 10321) @@ -113,7 +113,7 @@ $this->cache_dir = realpath( getcwd() . '/' . $this->cache_dir) . '/'; // check if a trailing slash is in cache_dir - if ($this->cache_dir{strlen($this->cache_dir)-1} != DIRECTORY_SEPARATOR) + if ($this->cache_dir[strlen($this->cache_dir)-1] != DIRECTORY_SEPARATOR) $this->cache_dir .= '/'; if (!file_exists($this->cache_dir) || !is_dir($this->cache_dir)) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |