| @@ -2,9 +2,9 @@ | ||
| 2 | 2 | /** |
| 3 | 3 | * @package VikWP - Libraries |
| 4 | 4 | * @subpackage adapter.filesystem |
| 5 | 5 | * @author E4J s.r.l. |
| 6 | - * @copyright Copyright (C) 2021 E4J s.r.l. All Rights Reserved. | |
| 6 | + * @copyright Copyright (C) 2023 E4J s.r.l. All Rights Reserved. | |
| 7 | 7 | * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL |
| 8 | 8 | * @link https://vikwp.com |
| 9 | 9 | */ |
| 10 | 10 | |
| @@ -84,9 +84,9 @@ | ||
| 84 | 84 | * @return boolean True on success. |
| 85 | 85 | */ |
| 86 | 86 | public static function write($file, $buffer) |
| 87 | 87 | { |
| 88 | - @set_time_limit(ini_get('max_execution_time')); | |
| 88 | + @set_time_limit((int) ini_get('max_execution_time')); | |
| 89 | 89 | |
| 90 | 90 | $file = JPath::clean($file); |
| 91 | 91 | |
| 92 | 92 | // If the destination directory doesn't exist we need to create it |