function __construct() { if (!jf::$App) { jf::$App = $this; } else { throw new Exception("FrontController already instantiated."); } $this->GenerateRequestID(); }