Spaces:
Sleeping
Sleeping
Download processmaker-files/workflow/engine/bin/tasks/cliBrowserCacheFiles.php from kenken999/processmaker-community: direct link, hf CLI and curl.
- Browser
- Download file 470 Bytes
-
https://huggingface.co/spaces/kenken999/processmaker-community/resolve/main/processmaker-files/workflow/engine/bin/tasks/cliBrowserCacheFiles.php
- Command line
-
hf download hf://spaces/kenken999/processmaker-community/processmaker-files/workflow/engine/bin/tasks/cliBrowserCacheFiles.php
-
curl -L -o cliBrowserCacheFiles.php https://huggingface.co/spaces/kenken999/processmaker-community/resolve/main/processmaker-files/workflow/engine/bin/tasks/cliBrowserCacheFiles.php
470 Bytes
| CLI::taskName("browser-cache-files-upgrade"); | |
| CLI::taskDescription(<<<EOT | |
| Safe upgrade for files cached by the browser | |
| This command should be run after any upgrade/modification of files cached by the browser. | |
| EOT | |
| ); | |
| CLI::taskRun("runBrowserCacheFiles"); | |
| function runBrowserCacheFiles($command, $args) | |
| { | |
| CLI::logging("Safe upgrade for files cached by the browser\n"); | |
| G::browserCacheFilesSetUid(); | |
| CLI::logging("Upgrade successful\n"); | |
| } | |