[Scummvm-cvs-logs] SF.net SVN: scummvm:[40929] web/trunk/index.php

fredrik_w at users.sourceforge.net fredrik_w at users.sourceforge.net
Tue May 26 23:16:48 CEST 2009


Revision: 40929
          http://scummvm.svn.sourceforge.net/scummvm/?rev=40929&view=rev
Author:   fredrik_w
Date:     2009-05-26 21:16:48 +0000 (Tue, 26 May 2009)

Log Message:
-----------
Only allow the exception handler function to accept Exceptions as input.

Modified Paths:
--------------
    web/trunk/index.php

Modified: web/trunk/index.php
===================================================================
--- web/trunk/index.php	2009-05-26 21:14:54 UTC (rev 40928)
+++ web/trunk/index.php	2009-05-26 21:16:48 UTC (rev 40929)
@@ -10,7 +10,7 @@
 }
 
 /* Exception handling. */
-function exceptionHandler ($exception) {
+function exceptionHandler (Exception $exception) {
 	require_once('Pages/ExceptionsPage.php');
 	$ep = new ExceptionsPage();
 	return $ep->index($exception);


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list