X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=index.php;h=3289d29b34215858c738024713ecd09ac696fe31;hb=b15f5f0cafc08c9b63090c5b4f7494fca0634238;hp=76e4cfe71623d3d320b2739aa76aafdb6eba740b;hpb=dc5b302fe9ac5906bac29b279dc78ad2d2625536;p=quix0rs-gnu-social.git diff --git a/index.php b/index.php index 76e4cfe716..3289d29b34 100644 --- a/index.php +++ b/index.php @@ -317,14 +317,14 @@ function main() } else { try { call_user_func("$action_class::run", $args); - } catch (ClientException $cex) { - $cac = new ClientErrorAction($cex->getMessage(), $cex->getCode()); + } catch (ClientException $e) { + $cac = new ClientErrorAction($e->getMessage(), $e->getCode()); $cac->showPage(); - } catch (ServerException $sex) { // snort snort guffaw - $sac = new ServerErrorAction($sex->getMessage(), $sex->getCode(), $sex); + } catch (ServerException $e) { // snort snort guffaw + $sac = new ServerErrorAction($e->getMessage(), $e->getCode(), $e); $sac->showPage(); - } catch (Exception $ex) { - $sac = new ServerErrorAction($ex->getMessage(), 500, $ex); + } catch (Exception $e) { + $sac = new ServerErrorAction($e->getMessage(), 500, $e); $sac->showPage(); } }