update_helper
class update_helper
General helper functionality for the updater
Properties
protected string | $path_to_new_files | ||
protected string | $path_to_old_files | ||
protected string | $phpbb_root_path |
Methods
__construct(string $phpbb_root_path)
Constructor
string
get_path_to_new_update_files()
Returns path to new update files
string
get_path_to_old_update_files()
Returns path to new update files
include_file(string $filename)
Includes the updated file if available
int|bool
phpbb_version_compare(string $version_number1, string $version_number2, string|null $operator = null)
Customized version_compare()
Details
at line 41
__construct(string $phpbb_root_path)
Constructor
at line 53
string
get_path_to_new_update_files()
Returns path to new update files
at line 63
string
get_path_to_old_update_files()
Returns path to new update files
at line 73
include_file(string $filename)
Includes the updated file if available
at line 93
int|bool
phpbb_version_compare(string $version_number1, string $version_number2, string|null $operator = null)
Customized version_compare()