From: vincent@cubedesigners.com Date: Mon, 13 Dec 2010 15:27:12 +0000 (+0000) Subject: (no commit message) X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=b49344ea7a6283654df2cd6072432d28aaee7685;p=cubeextranet.git --- diff --git a/inc/ws/DAO/class.ws.dao.theme.php b/inc/ws/DAO/class.ws.dao.theme.php index f45c51b65..a853e2e5a 100644 --- a/inc/ws/DAO/class.ws.dao.theme.php +++ b/inc/ws/DAO/class.ws.dao.theme.php @@ -35,7 +35,7 @@ class wsDAOTheme extends extranetDAO { if ($basic) { $table = 'themes'; } else { - $table = 'theme_vue'; + $table = 'themes_vue'; } $r = $this->con->select('SELECT * FROM '.$table.' WHERE theme_id IN (SELECT theme FROM books WHERE book_id=\'' . $this->con->escape($book_id) . '\') LIMIT 1'); return $this->singleton($r); diff --git a/inc/ws/Metier/class.ws.icone.php b/inc/ws/Metier/class.ws.icone.php index 36d95606c..9eb184bfd 100644 --- a/inc/ws/Metier/class.ws.icone.php +++ b/inc/ws/Metier/class.ws.icone.php @@ -8,8 +8,8 @@ class wsIcone extends cubeMetier { public function makeImage() { - $root = ROOT . '/icones/' . $this->icone_id . '/'; - $final = ROOT . '/icones/' . $this->icone_id . '.png'; + $root = WS_ICONS . '/' . $this->icone_id . '/'; + $final = WS_ICONS . '/' . $this->icone_id . '.png'; if (file_exists($final) && $this->date <= filemtime($final)) { return;