diff --git a/OpenSQLManager.php b/OpenSQLManager.php index a8a900a..92e5a08 100644 --- a/OpenSQLManager.php +++ b/OpenSQLManager.php @@ -125,7 +125,7 @@ function osm_autoload($class) $class = strtolower(end($class_spaces)); $widget_path = BASE_DIR . "/widgets/{$class}.php"; $window_path = BASE_DIR . "/windows/{$class}.php"; - + if (is_file($widget_path)) { require_once($widget_path); @@ -182,14 +182,6 @@ class OpenSQLManager extends \wxApp { \wxExit(); return 0; } - - /** - * Handle Fatal Exceptions - */ - public function OnFatalException($e) - { - file_put_contents('errors.txt', print_r($e, TRUE), FILE_APPEND); - } } // Create the app instance @@ -198,9 +190,6 @@ $app = new OpenSQLManager(); // Create platform information object $platform = new \wxPlatformInfo(); -// Pass fatal exceptions to wxAPP -\wxHandleFatalExceptions(TRUE); - // Start the wx event loop \wxApp::SetInstance($app); \wxEntry(); diff --git a/docs/classes/OpenSQLManager.Connection_Manager.html b/docs/classes/OpenSQLManager.Connection_Manager.html index 63b263b..70f4d38 100644 --- a/docs/classes/OpenSQLManager.Connection_Manager.html +++ b/docs/classes/OpenSQLManager.Connection_Manager.html @@ -22,7 +22,6 @@