-
FAQ
- Forum Search
- Community
- Online Manual
- Support Helpers of the Month
- Function Database
saveInstalledPackages
Description
Saves an array (as generated by loadInstalledPackages) as the list of installed packages.
Syntax
void saveInstalledPackages (array $instmods)
Parameter $instmods
Expected type: Array
Description: An array of installed packages (mods, avatar packs, etc.)
Array Elements of $instmods Key Optional Expected type Description filename no String The name of the actual package file id no String The internal package ID (used to uniquely identify each package) name no String The name of the package version no String The version of the package
Notes
- Writes this information to Packages/installed.list.
- Requires the above file to be writable.
- Attempts to chmod the file if it isn't writable.
Advertisement:- Help | Terms and Rules | Go Up ▲
- Copyright © 2022 Simple Machines. All Rights Reserved.
- Page created in 0.015 seconds with 13 queries.
- Forum Search