Spaces:
Sleeping
Sleeping
Download processmaker-files/workflow/engine/methods/oauth2/clientSetup.php from kenken999/processmaker-community: direct link, hf CLI and curl.
- Browser
- Download file 460 Bytes
-
https://huggingface.co/spaces/kenken999/processmaker-community/resolve/main/processmaker-files/workflow/engine/methods/oauth2/clientSetup.php
- Command line
-
hf download hf://spaces/kenken999/processmaker-community/processmaker-files/workflow/engine/methods/oauth2/clientSetup.php
-
curl -L -o clientSetup.php https://huggingface.co/spaces/kenken999/processmaker-community/resolve/main/processmaker-files/workflow/engine/methods/oauth2/clientSetup.php
460 Bytes
| $config = array(); | |
| $config["pageSize"] = 20; | |
| $headPublisher = &headPublisher::getSingleton(); | |
| //$headPublisher->addContent("oauth2" . PATH_SEP . "clientSetup"); //Adding a HTML file .html | |
| $headPublisher->addExtJsScript("oauth2" . PATH_SEP . "clientSetup", false); //Adding a JavaScript file .js | |
| $headPublisher->assign("CONFIG", $config); | |
| $headPublisher->assign("CREATE_CLIENT", (isset($_GET["create_app"]))? 1 : 0); | |
| G::RenderPage("publish", "extJs"); | |