@@ -32,11 +32,11 @@ discard block |
||
32 | 32 | /** |
33 | 33 | * @brief Declare constants for generic use and for checking to avoid a direct call from the Web |
34 | 34 | **/ |
35 | -define('__XE__', TRUE); |
|
35 | +define('__XE__', TRUE); |
|
36 | 36 | /** |
37 | 37 | * @brief Include the necessary configuration files |
38 | 38 | **/ |
39 | -require dirname(__FILE__) . '/config/config.inc.php'; |
|
39 | +require dirname(__FILE__).'/config/config.inc.php'; |
|
40 | 40 | |
41 | 41 | /** |
42 | 42 | * @brief Initialize by creating Context object |
@@ -48,18 +48,18 @@ discard block |
||
48 | 48 | /** |
49 | 49 | * @brief If default_url is set and it is different from the current url, attempt to redirect for SSO authentication and then process the module |
50 | 50 | **/ |
51 | -if($oContext->checkSSO()) |
|
51 | +if ($oContext->checkSSO()) |
|
52 | 52 | { |
53 | 53 | $oModuleHandler = new ModuleHandler(); |
54 | 54 | |
55 | 55 | try |
56 | 56 | { |
57 | - if($oModuleHandler->init()) |
|
57 | + if ($oModuleHandler->init()) |
|
58 | 58 | { |
59 | 59 | $oModuleHandler->displayContent($oModuleHandler->procModule()); |
60 | 60 | } |
61 | 61 | } |
62 | - catch(Exception $e) |
|
62 | + catch (Exception $e) |
|
63 | 63 | { |
64 | 64 | htmlHeader(); |
65 | 65 | echo Context::getLang($e->getMessage()); |