From f81fa17d54d45926b30446253fd4abe05c795c4b Mon Sep 17 00:00:00 2001 From: "vincent@cubedesigners.com" Date: Wed, 20 Feb 2013 12:44:18 +0000 Subject: [PATCH] --- inc/ws/Util/html5/class.ws.html5.compiler.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/inc/ws/Util/html5/class.ws.html5.compiler.php b/inc/ws/Util/html5/class.ws.html5.compiler.php index 5e52d7e7e..5ab098daa 100644 --- a/inc/ws/Util/html5/class.ws.html5.compiler.php +++ b/inc/ws/Util/html5/class.ws.html5.compiler.php @@ -456,9 +456,11 @@ class wsHTML5Compiler { $standardPlugins = isset($this->phonegapStandardPlugins[$this->phonegap]) ? $this->phonegapStandardPlugins[$this->phonegap] : array(); - foreach($standardPlugins as $p){ - copy($this->assets . '/js/libs/phonegap/plugins/'.$this->phonegap.'/'.$p.'.js', $this->vdir . '/data/'.$p.'.js'); - $script .= '' . "\n"; + fb($standardPlugins); + foreach ($standardPlugins as $p) { + $to = $this->vdir . '/data/' . $p . '.js'; + copy($this->assets . '/js/libs/phonegap/plugins/' . $this->phonegap . '/' . $p . '.js', $to); + $script .= '' . "\n"; } $plugins = explode("\n", $this->book->parametres->phonegapPlugins); -- 2.39.5