]> _ Git - cubeextranet.git/commitdiff
(no commit message)
authorvincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Thu, 26 May 2011 09:03:56 +0000 (09:03 +0000)
committervincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Thu, 26 May 2011 09:03:56 +0000 (09:03 +0000)
inc/config.inc.php
inc/ws/Controlleur/class.ws.ajax.php
inc/ws/Controlleur/class.ws.url.php

index df786274d8ba43324153ef720d0fa730537d7b86..25ff1f31d92c4bc2201a29bd08c31faf3f6dea1f 100644 (file)
@@ -53,4 +53,6 @@ define('TIMEZONE', 'UTC');
 \r
 define('CUBE_SEARCH_LIMIT_CHARS', 3);\r
 \r
+set_time_limit(90);\r
+\r
 ?>
\ No newline at end of file
index c9ccd20f08f915b233db17dcb7c7461b34ac1762..b26006b94c8f57028d7ce49207799da33552b1ab 100644 (file)
@@ -125,7 +125,9 @@ class wsAjax extends cubeAjax {
        }\r
 \r
        public static function searchPublications($args, &$x) {\r
+               fb(microtime(true));\r
                $x->addContent('listeBooks', wsUrl::listeBooks());\r
+               fb(microtime(true));\r
        }\r
 \r
        public static function pageBooks($args, &$x) {\r
index b8db5475c42f4c8562d39fa927ba0971dd41b1bf..083c5e6d298c626302e86a6214a58f8064ced73d 100644 (file)
@@ -37,6 +37,8 @@ class wsUrl {
                cubePage::contextMenu();\r
 \r
                $droits = wsDroits::getDroits();\r
+               \r
+               fb(microtime(true));\r
 \r
                commonDroits::min(1);\r
                $settings = is_null($settings) ? $core->user->getSettings('books') : $settings;\r
@@ -55,6 +57,8 @@ class wsUrl {
 \r
                $res .= self::contextBookDownload($context_download_id);\r
                $res .= self::contextBookStatus($context_status_id);\r
+               \r
+               fb(microtime(true));\r
 \r
                $res .= '<table class="liste">';\r
                $res .= '<tr><th>' . commonUrl::orderby('#', 'book_id', $settings, 'sort' . $change) . '</th>';\r
@@ -84,6 +88,8 @@ class wsUrl {
                if ($droits->creation) {\r
                        $btDel = cubeMedia::cssRollover($core->typo->Supprimer('suppr.', '', false));\r
                }\r
+               \r
+               fb(microtime(true));\r
 \r
                foreach ($liste as $id => $book) {\r
                        $odd = cubeMath::isOdd($i) ? ' class="odd"' : '';\r
@@ -134,6 +140,9 @@ class wsUrl {
                        $res .= '</tr>';\r
                        $i++;\r
                }\r
+               \r
+               fb(microtime(true));\r
+               \r
                if (!isset($settings['search']) || is_null($settings['search'])) {\r
                        $odd = cubeMath::isOdd($i) ? ' class="odd"' : '';\r
                        $res .= '<tr' . $odd . '><td colspan="12">';\r