@@ -32,8 +32,8 @@ |
||
| 32 | 32 | <p>Required PHP version : <b>PHP >= <?php echo TNH_REQUIRED_PHP_MIN_VERSION; ?>, PHP <= <?php echo TNH_REQUIRED_PHP_MAX_VERSION; ?></b></p> |
| 33 | 33 | <p>Release date : <b><?php echo TNH_RELEASE_DATE; ?></b></p> |
| 34 | 34 | <hr /> |
| 35 | - <p>Current controller: <b class = "text-muted label-danger"><?php echo APPS_CONTROLLER_PATH . 'Home.php';?></b> |
|
| 36 | - <p>Current view: <b class = "text-muted label-danger"><?php echo APPS_VIEWS_PATH . 'home.php';?></b> |
|
| 35 | + <p>Current controller: <b class = "text-muted label-danger"><?php echo APPS_CONTROLLER_PATH . 'Home.php'; ?></b> |
|
| 36 | + <p>Current view: <b class = "text-muted label-danger"><?php echo APPS_VIEWS_PATH . 'home.php'; ?></b> |
|
| 37 | 37 | </div> |
| 38 | 38 | </div> |
| 39 | 39 | </div> |
@@ -270,15 +270,15 @@ |
||
| 270 | 270 | die(); |
| 271 | 271 | } |
| 272 | 272 | |
| 273 | - /** |
|
| 274 | - * Function defined for handling PHP exception error message, |
|
| 275 | - * it displays an error message using the function "show_error" |
|
| 276 | - * |
|
| 277 | - * @param object $ex instance of the "Exception" class or a derived class |
|
| 278 | - * @codeCoverageIgnore |
|
| 279 | - * |
|
| 280 | - * @return boolean |
|
| 281 | - */ |
|
| 273 | + /** |
|
| 274 | + * Function defined for handling PHP exception error message, |
|
| 275 | + * it displays an error message using the function "show_error" |
|
| 276 | + * |
|
| 277 | + * @param object $ex instance of the "Exception" class or a derived class |
|
| 278 | + * @codeCoverageIgnore |
|
| 279 | + * |
|
| 280 | + * @return boolean |
|
| 281 | + */ |
|
| 282 | 282 | function fw_exception_handler($ex) { |
| 283 | 283 | if (str_ireplace(array('off', 'none', 'no', 'false', 'null'), '', ini_get('display_errors'))) { |
| 284 | 284 | show_error('An exception is occured in file ' . $ex->getFile() . ' at line ' . $ex->getLine() . ' raison : ' . $ex->getMessage(), 'PHP Exception #' . $ex->getCode()); |