Rev 1250 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1250 | Rev 1258 | ||
---|---|---|---|
Line 575... | Line 575... | ||
575 | $cont = file_get_contents($file); |
575 | $cont = file_get_contents($file); |
576 | $cont = str_replace('public function html_exception_handler', 'public static function html_exception_handler', $cont); |
576 | $cont = str_replace('public function html_exception_handler', 'public static function html_exception_handler', $cont); |
577 | file_put_contents($file, $cont); |
577 | file_put_contents($file, $cont); |
578 | } |
578 | } |
579 | if ($rev == 1248) { |
579 | if ($rev == 1248) { |
- | 580 | // Possible error message that interrupts AJAX contents if error output is enabled |
|
- | 581 | $file = $dir.'/vendor/danielmarschall/uuid_mac_utils/includes/mac_utils.inc.php'; |
|
- | 582 | $cont = file_get_contents($file); |
|
- | 583 | $cont = str_replace(' inet_pton', ' @inet_pton', $cont); |
|
- | 584 | file_put_contents($file, $cont); |
|
- | 585 | ||
580 | // A PHP 8 function was used, making the update impossible on PHP 7.x systems |
586 | // A PHP 8 function was used, making the update impossible on PHP 7.x systems |
581 | $file = $dir.'/plugins/viathinksoft/objectTypes/mac/OIDplusObjectTypePluginMac.class.php'; |
587 | $file = $dir.'/plugins/viathinksoft/objectTypes/mac/OIDplusObjectTypePluginMac.class.php'; |
582 | $cont = file_get_contents($file); |
588 | $cont = file_get_contents($file); |
583 | $cont = str_replace("str_contains(\$static_node_id, ':')", "(strpos(\$static_node_id, ':') !== false)", $cont); |
589 | $cont = str_replace("str_contains(\$static_node_id, ':')", "(strpos(\$static_node_id, ':') !== false)", $cont); |
584 | $cont = str_replace("str_contains(\$static_node_id, '-')", "(strpos(\$static_node_id, '-') !== false)", $cont); |
590 | $cont = str_replace("str_contains(\$static_node_id, '-')", "(strpos(\$static_node_id, '-') !== false)", $cont); |