From 4d0e359f3d65d7c57327c9d05b2dcf568cf90e1f Mon Sep 17 00:00:00 2001 From: "vincent@cubedesigners.com" Date: Thu, 17 Feb 2011 20:19:55 +0000 Subject: [PATCH] --- inc/ws/Controlleur/class.ws.url.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/inc/ws/Controlleur/class.ws.url.php b/inc/ws/Controlleur/class.ws.url.php index 7789dc534..ebb49e017 100644 --- a/inc/ws/Controlleur/class.ws.url.php +++ b/inc/ws/Controlleur/class.ws.url.php @@ -356,7 +356,7 @@ html{height:100%}' . "\n"; self::checkDocumentVersionOfBook($book_id); - echo self::commonViewer($book_id, $e[1],true); + echo self::commonViewer($book_id, $e[1], true); } public static function vieweru($args) @@ -398,7 +398,7 @@ html{height:100%}' . "\n"; echo self::commonViewer($book_id, $e[1]); } - public static function commonViewer($book_id, $hash,$standalone=false) + public static function commonViewer($book_id, $hash, $standalone = false) { if (!defined('MINIMIZE_JS')) { define('MINIMIZE_JS', false); @@ -438,8 +438,8 @@ html{height:100%}' . "\n"; $css = $js = array(); $css[] = $webcompile . 'style.css'; $fv = array(); - if($standalone){ - $fv['base']=$_SERVER['REQUEST_URI']; + if ($standalone) { + $fv['base'] = $_SERVER['REQUEST_URI']; } $res = ''; -- 2.39.5