]> _ Git - cubeextranet.git/commitdiff
(no commit message)
authorvincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Mon, 13 Dec 2010 15:27:12 +0000 (15:27 +0000)
committervincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Mon, 13 Dec 2010 15:27:12 +0000 (15:27 +0000)
inc/ws/DAO/class.ws.dao.theme.php
inc/ws/Metier/class.ws.icone.php

index f45c51b6592dce4f1c79802123d81d6e3ae5dc8d..a853e2e5a68f93c75671a5ad368df891112c92c3 100644 (file)
@@ -35,7 +35,7 @@ class wsDAOTheme extends extranetDAO {
                if ($basic) {\r
                        $table = 'themes';\r
                } else {\r
-                       $table = 'theme_vue';\r
+                       $table = 'themes_vue';\r
                }\r
                $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');\r
                return $this->singleton($r);\r
index 36d95606cfe938e8fcbb44a12f893b45386c9316..9eb184bfd440771280dce20a1fbb96f118c846cc 100644 (file)
@@ -8,8 +8,8 @@ class wsIcone extends cubeMetier {
 \r
        public function makeImage()\r
        {\r
-               $root = ROOT . '/icones/' . $this->icone_id . '/';\r
-               $final = ROOT . '/icones/' . $this->icone_id . '.png';\r
+               $root = WS_ICONS . '/' . $this->icone_id . '/';\r
+               $final = WS_ICONS . '/' . $this->icone_id . '.png';\r
 \r
                if (file_exists($final) && $this->date <= filemtime($final)) {\r
                        return;\r