From: vincent@cubedesigners.com Date: Wed, 20 Feb 2013 12:44:18 +0000 (+0000) Subject: (no commit message) X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=f81fa17d54d45926b30446253fd4abe05c795c4b;p=cubeextranet.git --- 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);