Procedural File: lib-upgrade.php
Source Location: /public_html/admin/install/lib-upgrade.php
Page Details:
get_SPX_Ver [line 713]
Check if the Spam-X plugin is already installed Note: Needed for upgrades from old versions - don't remove.
Tags:
get_SP_ver [line 677]
Checks for Static Pages Version Note: Needed for upgrades from old versions - don't remove.
Tags:
INST_autoinstallNewPlugins [line 876]
void INST_autoinstallNewPlugins(
)
|
|
Pick up and install any new plugins Search for plugins that exist in the filesystem but are not registered with Geeklog. If they support auto install, install them now.
INST_checkInnodbUpgrade [line 754]
array INST_checkInnodbUpgrade(
array $_SQL)
|
|
Check InnoDB Upgrade
Tags:
Parameters
| array |
$_SQL |
List of SQL queries |
INST_doDatabaseUpgrades [line 45]
boolean INST_doDatabaseUpgrades(
string $current_gl_version)
|
|
Perform database upgrades
Tags:
Parameters
| string |
$current_gl_version |
Current Geeklog version |
INST_fixOptionalConfig [line 942]
void INST_fixOptionalConfig(
)
|
|
Make sure optional config options can be disabled Back when Geeklog used a config.php file, some of the comment options were commented out, i.e. they were optional. Make sure those options can still be disabled from the Configuration admin panel.
INST_identifyGeeklogVersion [line 518]
string INST_identifyGeeklogVersion(
)
|
|
Get the current installed version of Geeklog
Tags:
INST_innodbSupported [line 776]
boolean INST_innodbSupported(
)
|
|
Check for InnoDB table support (usually as of MySQL 4.0, but may be available in earlier versions, e.g. "Max" or custom builds).
Tags:
INST_pluginExists [line 804]
boolean INST_pluginExists(
string $plugin)
|
|
Check if a current plugin is installed
Tags:
Parameters
| string |
$plugin |
Name of plugin to check |
INST_pluginUpgrades [line 831]
int INST_pluginUpgrades(
[boolean $migration = false], [array $old_conf = array()])
|
|
Upgrade any enabled plugins NOTE: Needs a fully working Geeklog, so can only be done late in the upgrade process!
Tags:
Parameters
| boolean |
$migration |
whether the upgrade is part of a site migration |
| array |
$old_conf |
old $_CONF values before the migration |
INST_setDefaultCharset [line 638]
boolean INST_setDefaultCharset(
string $siteconfig_path, string $charset)
|
|
Change default character set to UTF-8 NOTE: Yes, this means that we need to patch siteconfig.php a second time.
Tags:
Parameters
| string |
$siteconfig_path |
complete path to siteconfig.php |
| string |
$charset |
default character set to use |
INST_updateDB [line 732]
void INST_updateDB(
array $_SQL)
|
|
Run all the database queries from the update file.
Parameters
| array |
$_SQL |
Array of queries to perform |
|