From: vincent@cubedesigners.com Date: Fri, 6 Jul 2012 17:14:12 +0000 (+0000) Subject: (no commit message) X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=9acf5d5efc01ab435c4cca6d76f6ad232594c4f6;p=cubeextranet.git --- diff --git a/inc/config.inc.php b/inc/config.inc.php index aea0ae1fd..72f2f212b 100644 --- a/inc/config.inc.php +++ b/inc/config.inc.php @@ -34,8 +34,6 @@ define('WS_COMPILE_ASSETS', WS_FILES . '/compile'); define('WS_SOUNDS', WS_FILES . '/sounds'); define('WS_TOOLS', WS_FILES . '/tools'); define('WS_SHM', '/dev/shm'); -define('WS_HTML5_PROD_REV', '7117'); -define('WS_HTML5_DEV_REV', 'HEAD'); define('WORKER_PREFIX', 'worker.'); diff --git a/inc/ws/Controlleur/class.ws.maintenance.php b/inc/ws/Controlleur/class.ws.maintenance.php index 1df1b4616..994c58deb 100644 --- a/inc/ws/Controlleur/class.ws.maintenance.php +++ b/inc/ws/Controlleur/class.ws.maintenance.php @@ -734,10 +734,17 @@ class wsMaintenance { ldap_close($ds); return $res; } - - public static function updateHTML5Sources(){ - $svn=new cubeCommandLine('svn'); + + public static function updateHTML5Sources() { + $svn = new cubeCommandLine('svn'); $svn->setPath(CONVERTER_PATH); + $svn->setArg(null, 'up'); + $svn->setArg('r', file_get_contents(WS_COMPILE_ASSETS . '/_html5/PROD')); + $svn->setArg(null, WS_COMPILE_ASSETS.'/_html5prod'); + $svn->execute(); + + fb($svn->commande); + fb($svn->output); } }