From: vincent@cubedesigners.com Date: Fri, 22 Feb 2013 13:41:59 +0000 (+0000) Subject: (no commit message) X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=13e74e4942808ea636e203dfe2f4cfef8454251e;p=cubeextranet.git --- diff --git a/inc/commons/class.common.tools.php b/inc/commons/class.common.tools.php index 0e784b13a..5a6ab5891 100644 --- a/inc/commons/class.common.tools.php +++ b/inc/commons/class.common.tools.php @@ -654,6 +654,7 @@ class commonTools { $res.='' . __('Générer un p12 et pem à partir d\'un certificat et d\'une clé ') . ''; $res.='' . __("Clé privée") . ''; $res.='' . __("Certificat") . ''; + $res.='' . __('Mot de passe') . ''; $res.='' . $core->typo->BoutonOK(__('Exporter')) . ''; $res.=''; $res.=''; @@ -694,7 +695,7 @@ class commonTools { $openssl->setEnv('RANDFILE', $tmp . '/.rnd'); $openssl->setArg(null, 'pkcs12'); $openssl->setArg('-export'); - $openssl->setArg('-password', 'pass:'); + $openssl->setArg('-password', 'pass:' . $_POST['password']); $openssl->setArg('-inkey', $_FILES['key']['tmp_name']); $openssl->setArg('-in', $pem); $openssl->setArg('-out', $p12); diff --git a/inc/ws/Util/class.ws.exporter.php b/inc/ws/Util/class.ws.exporter.php index ef91a7e44..e830178e0 100644 --- a/inc/ws/Util/class.ws.exporter.php +++ b/inc/ws/Util/class.ws.exporter.php @@ -116,7 +116,8 @@ class wsExporter { $this->_rsync($package, '/home/dev/Works/Phonegap/Projects/' . $destination, true); `/usr/local/bin/updatephonegapandroid`; } else if ($os == 'ios') { - $this->_rsync($package, '/mnt/macbook/Phonegap/Projects/' . $destination, true); + `/usr/local/bin/remountmac`; + $this->_rsync($package, '/mnt/macbox/Phonegap/Projects/' . $destination, true); } }