From 220c6491df6d541031ee0132cf59e01f31438c8c Mon Sep 17 00:00:00 2001 From: Victor Saisa Lopez Date: Tue, 23 Apr 2013 13:16:54 -0400 Subject: [PATCH] BUG 0000 "Safe upgrade for JavaScript files" SOLVED - New feature - Safe upgrade for JavaScript files - Added new feature, - This new feature is activated when you run one of the following commands: $ ./processmaker upgrade $ ./processmaker build-js $ ./processmaker browser-cache-files-upgrade - The new feature creates an attribute in the file "processmaker/workflow/engine/config/env.ini" Example: browser_cache_files_uid = "xxxxxxxxxxyyyyyyyyyyzzzzzzzzzzaa" - After running the command, the browser should automatically cache the new files * Available from version ProcessMaker-2.5 --- gulliver/system/class.g.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gulliver/system/class.g.php b/gulliver/system/class.g.php index 2269acf83..2b203cc0d 100644 --- a/gulliver/system/class.g.php +++ b/gulliver/system/class.g.php @@ -4902,7 +4902,7 @@ class G { $arrayLibrary = array(); - $library = json_decode(file_get_contents(PATH_HOME . "engine" . PATH_SEP . "bin" . PATH_SEP . "tasks" . PATH_SEP . "libraries.json")); + $library = G::json_decode(file_get_contents(PATH_HOME . "engine" . PATH_SEP . "bin" . PATH_SEP . "tasks" . PATH_SEP . "libraries.json")); foreach ($library as $index => $value) { $lib = $value;