From: vincent@cubedesigners.com Date: Thu, 26 May 2011 09:03:56 +0000 (+0000) Subject: (no commit message) X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=2dd8b90eef168b785d149dd19de99960620cd7e8;p=cubeextranet.git --- diff --git a/inc/config.inc.php b/inc/config.inc.php index df786274d..25ff1f31d 100644 --- a/inc/config.inc.php +++ b/inc/config.inc.php @@ -53,4 +53,6 @@ define('TIMEZONE', 'UTC'); define('CUBE_SEARCH_LIMIT_CHARS', 3); +set_time_limit(90); + ?> \ No newline at end of file diff --git a/inc/ws/Controlleur/class.ws.ajax.php b/inc/ws/Controlleur/class.ws.ajax.php index c9ccd20f0..b26006b94 100644 --- a/inc/ws/Controlleur/class.ws.ajax.php +++ b/inc/ws/Controlleur/class.ws.ajax.php @@ -125,7 +125,9 @@ class wsAjax extends cubeAjax { } public static function searchPublications($args, &$x) { + fb(microtime(true)); $x->addContent('listeBooks', wsUrl::listeBooks()); + fb(microtime(true)); } public static function pageBooks($args, &$x) { diff --git a/inc/ws/Controlleur/class.ws.url.php b/inc/ws/Controlleur/class.ws.url.php index b8db5475c..083c5e6d2 100644 --- a/inc/ws/Controlleur/class.ws.url.php +++ b/inc/ws/Controlleur/class.ws.url.php @@ -37,6 +37,8 @@ class wsUrl { cubePage::contextMenu(); $droits = wsDroits::getDroits(); + + fb(microtime(true)); commonDroits::min(1); $settings = is_null($settings) ? $core->user->getSettings('books') : $settings; @@ -55,6 +57,8 @@ class wsUrl { $res .= self::contextBookDownload($context_download_id); $res .= self::contextBookStatus($context_status_id); + + fb(microtime(true)); $res .= ''; $res .= ''; @@ -84,6 +88,8 @@ class wsUrl { if ($droits->creation) { $btDel = cubeMedia::cssRollover($core->typo->Supprimer('suppr.', '', false)); } + + fb(microtime(true)); foreach ($liste as $id => $book) { $odd = cubeMath::isOdd($i) ? ' class="odd"' : ''; @@ -134,6 +140,9 @@ class wsUrl { $res .= ''; $i++; } + + fb(microtime(true)); + if (!isset($settings['search']) || is_null($settings['search'])) { $odd = cubeMath::isOdd($i) ? ' class="odd"' : ''; $res .= '
' . commonUrl::orderby('#', 'book_id', $settings, 'sort' . $change) . '
';