From b02c1702312fcfdc6964a14da3229092aff3551b Mon Sep 17 00:00:00 2001 From: "vincent@cubedesigners.com" Date: Tue, 7 Dec 2010 17:36:47 +0000 Subject: [PATCH] --- inc/config.inc.php | 4 ++-- inc/ws/DAO/class.ws.dao.book.php | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/inc/config.inc.php b/inc/config.inc.php index 8f5514d4c..ebd47eb76 100644 --- a/inc/config.inc.php +++ b/inc/config.inc.php @@ -57,8 +57,8 @@ if (in_array($_SERVER['HTTP_HOST'], $ws)) { define('TITLE', 'Extranet Cubedesigners'); } // Workshop -define('THEMES', WEBROOT . '/themes/'); -define('ICONS', WEBROOT . '/icones/'); +define('THEMES', WEBROOT . '/fluidbook/themes/'); +define('ICONS', WEBROOT . '/fluidbook/icones/'); define('WS_STATS', 'http://stats.fluidbook.com/'); define('WS_FILES', ROOT . '/fluidbook'); define('WS_BOOKS', WS_FILES . '/books'); diff --git a/inc/ws/DAO/class.ws.dao.book.php b/inc/ws/DAO/class.ws.dao.book.php index 190d0e8e0..c2c215ed3 100644 --- a/inc/ws/DAO/class.ws.dao.book.php +++ b/inc/ws/DAO/class.ws.dao.book.php @@ -543,8 +543,7 @@ class wsDAOBook extends extranetDAO { } // Fonts $flex->addFont(FONT_PATH . '/FFFATLAN_0.TTF', 'CreditsFont', 'ASCII'); - $flex->addFont(FONT_PATH . '/DIN Medium_0.ttf', 'GeneralFont', 'Latin'); - $flexLight->addFont(FONT_PATH . '/DIN Medium_0.ttf', 'GeneralFontLight', 'Numerals'); + $flexLight->addFont(FONT_PATH . '/DIN Medium_0.ttf', 'GeneralFont', 'Latin'); $res .= $flex->compile() . "\n\n-------------------\n\n"; $flexLight->addVariable('datasSize', filesize($compilerDir . '/FluidbookDatas.swf')); $res .= $flexLight->compile(); -- 2.39.5