]> _ Git - cubeextranet.git/commitdiff
(no commit message)
authorvincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Wed, 20 Feb 2013 12:44:18 +0000 (12:44 +0000)
committervincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Wed, 20 Feb 2013 12:44:18 +0000 (12:44 +0000)
inc/ws/Util/html5/class.ws.html5.compiler.php

index 5e52d7e7e62397f7933796bf661e99c769f7665a..5ab098daa4041a9e0973ae20efbeb346c0351330 100644 (file)
@@ -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 .= '<script type="text/javascript" src="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 .= '<script type="text/javascript" src="data/' . $p . '.js"></script>' . "\n";
                        }
 
                        $plugins = explode("\n", $this->book->parametres->phonegapPlugins);