Overview
Comment:Soyons plus précis sur l'exception levée
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 498f51027643deff57de09ea3dffb0611e0b9b70
User & Date: bohwaz on 2012-12-29 05:56:00
Other Links: manifest | tags
Context
2012-12-29
07:04
Avancement sur les champs personnalisables : ajout, suppression, modification fonctionnels. check-in: 849223ded3 user: bohwaz tags: trunk
05:56
Soyons plus précis sur l'exception levée check-in: 498f510276 user: bohwaz tags: trunk
02:37
Catégorie de recette "subventions" check-in: 768605f340 user: bohwaz tags: trunk
Changes

Modified include/init.php from [72f2f3a279] to [860fa82406].

112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
            exit;
        }
        catch (Exception $e)
        {
        }
    }

    $error = "Error happened !\n\n".
        $e->getCode()." - ".$e->getMessage()."\n\nIn: ".
        $e->getFile() . ":" . $e->getLine()."\n\n";

    if (!empty($_SERVER['HTTP_HOST']))
        $error .= 'http://'.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']."\n\n";

    $error .= $e->getTraceAsString();







|







112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
            exit;
        }
        catch (Exception $e)
        {
        }
    }

    $error = "Exception of type ".get_class($e)." happened !\n\n".
        $e->getCode()." - ".$e->getMessage()."\n\nIn: ".
        $e->getFile() . ":" . $e->getLine()."\n\n";

    if (!empty($_SERVER['HTTP_HOST']))
        $error .= 'http://'.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']."\n\n";

    $error .= $e->getTraceAsString();