Returns an instance of Update
Singleton pattern implementation
Check new version CMS
boolean
check_updates
([boolean $return = false])
-
boolean
$return: if required return data
Check current CMS version
string
check_version
([boolean $all = false])
-
boolean
$all: if required returned array
void
copyDirs
( $tmpPathForArchive, $theme_name)
-
$tmpPathForArchive
-
$theme_name
void
create_theme_archive
([ $theme_name = null])
void
installModuleManual
()
void
InstallModules
( $params)
void
installUpdates
( $dir, $to, [ $allow = false])
Start instaling new theme
string|boolean
install_themes
()
void
loadInstallModulesHtml
()
Set current CMS version
void
set_version
(string $version)
Load update files and start update progress
boolean
update_files
()
Copy files for current path
void
_saveFile
(string $currentFireDir, string $curPath)
-
string
$currentFireDir
-
string
$curPath