/** * Upgrades database tables. * * @param string $path base path to folder where the install folder is located with trailing slash */ function upgrade_tables($path) { $path .= "install/tables"; $files = gdDBInstallGDPT::scan_folder($path); foreach ($files as $file) { gdDBInstallGDPT::upgrade_table($path, $file); } }