engine_php_save
Save PHP files from provided content or an existing file path copied byte-for-byte. For modules, pass a manifest to rewrite its JSON, preserving the table list and disabled log lines.
Instructions
Save an existing php file. The body comes either as content, or as file - a path on this machine, and then it travels byte for byte and you never retype it. For a module pass manifest to rewrite its .json - all of it but the table list: the engine learns that from the queries the module runs, and a save keeps only the lines you switched off (bare names: log=0).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | Path on this machine, absolute or off the store folder; instead of content. | |
| path | Yes | ||
| build | No | Raise the build number of the store - the one the page hangs on its css and js. A module does not need it: what a module prints is not held by the browser. Say it only when the same change is meant to make the visitors take fresh styles too. | |
| content | No | ||
| manifest | No | Same keys engine_php_load returns. |