Merged in norah/processmaker/PM-653 (pull request #972)
PM-653 Web entries template added
This commit is contained in:
@@ -89,8 +89,7 @@ try {
|
||||
file_put_contents( $fileName, $template->getOutputContent() );
|
||||
//creating the third file, only if this wsClient.php file doesn't exist.
|
||||
$fileName = $pathProcess . 'wsClient.php';
|
||||
$pluginTpl = PATH_CORE . 'test' . PATH_SEP . 'unit' . PATH_SEP . 'ws' . PATH_SEP . 'wsClient.php';
|
||||
|
||||
$pluginTpl = file_exists(PATH_CORE . 'test' . PATH_SEP . 'unit' . PATH_SEP . 'ws' . PATH_SEP . 'wsClient.php') ? PATH_CORE . 'test' . PATH_SEP . 'unit' . PATH_SEP . 'ws' . PATH_SEP . 'wsClient.php' : PATH_CORE . 'templates' . PATH_SEP . 'processes' . PATH_SEP . 'wsClient.php';
|
||||
if (file_exists( $fileName )) {
|
||||
if (filesize( $fileName ) != filesize( $pluginTpl )) {
|
||||
@copy( $fileName, $pathProcess . 'wsClient.php.bck' );
|
||||
|
||||
665
workflow/engine/templates/processes/wsClient.php
Normal file
665
workflow/engine/templates/processes/wsClient.php
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user