From 61244cd68cfca8360f2db96cfc8a8f71670436d9 Mon Sep 17 00:00:00 2001 From: "vincent@cubedesigners.com" Date: Fri, 6 Jan 2017 17:39:03 +0000 Subject: [PATCH] #1077 --- inc/config.inc.php | 3 +-- inc/ws/Util/class.ws.secure.swf.php | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/inc/config.inc.php b/inc/config.inc.php index 1da341abe..45c3020bf 100644 --- a/inc/config.inc.php +++ b/inc/config.inc.php @@ -27,7 +27,7 @@ define('COMPOSER_SOURCES', AS3_SOURCES . '/com/fluidbook/ws'); // Workshop define('THEMES', WEBROOT . '/fluidbook/themes/'); define('ICONS', WEBROOT . '/fluidbook/icones/'); -define('WS_STATS', 'http://stats.fluidbook.com/'); +define('WS_STATS', 'https://stats.fluidbook.com/'); define('WS_FILES', ROOT . '/fluidbook'); define('WS_BOOKS', WS_FILES . '/books'); define('WS_COLLECTIONS', WS_FILES . '/collections'); @@ -63,5 +63,4 @@ define('TIMEZONE', 'UTC'); define('CUBE_SEARCH_LIMIT_CHARS', 3); - define('PUBLIC_PATH', realpath(dirname(__FILE__) . '/..')); diff --git a/inc/ws/Util/class.ws.secure.swf.php b/inc/ws/Util/class.ws.secure.swf.php index 8c9a9be0e..66a043824 100644 --- a/inc/ws/Util/class.ws.secure.swf.php +++ b/inc/ws/Util/class.ws.secure.swf.php @@ -85,13 +85,13 @@ class wsSecureSWF { } protected static function protectFiles($type) { - $secureSWF = new cubeCommandLine('secureSWF', null, true); + /*$secureSWF = new cubeCommandLine('secureSWF', null, true); $secureSWF->setSudo(); $secureSWF->setPath(CONVERTER_PATH); $secureSWF->setManualArg(self::$configLocal); $secureSWF->setManualArg(self::$protected); $secureSWF->execute(); - file_put_contents(WS_COMPILE_ASSETS . '/_protect/secure_' . $type . '.log', $secureSWF->commande . "\n\n\n" . $secureSWF->output); + file_put_contents(WS_COMPILE_ASSETS . '/_protect/secure_' . $type . '.log', $secureSWF->commande . "\n\n\n" . $secureSWF->output);*/ } } -- 2.39.5