mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
[ticket/10824] Switch to new namespace for json sanitizer
PHPBB3-10824
This commit is contained in:
4
phpBB/phpbb/cache/service.php
vendored
4
phpBB/phpbb/cache/service.php
vendored
@@ -13,7 +13,7 @@
|
||||
|
||||
namespace phpbb\cache;
|
||||
|
||||
use phpbb\json_sanitizer;
|
||||
use phpbb\json\sanitizer;
|
||||
|
||||
/**
|
||||
* Class for grabbing/handling cached entries
|
||||
@@ -357,7 +357,7 @@ class service
|
||||
{
|
||||
// Re-parse cfg file
|
||||
$json = file_get_contents($filename);
|
||||
$parsed_array = json_sanitizer::decode($json);
|
||||
$parsed_array = sanitizer::decode($json);
|
||||
$parsed_array['filetime'] = @filemtime($filename);
|
||||
|
||||
$this->driver->put('_cfg_' . $style['style_path'], $parsed_array);
|
||||
|
Reference in New Issue
Block a user