* but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public license for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. * * @category FluxBB * @package Core * @copyright Copyright (c) 2008-2012 FluxBB (http://fluxbb.org) * @license http://www.gnu.org/licenses/gpl.html GNU General Public License */ define('FLUXBB_VERSION', '2.0-alpha1'); Autoloader::namespaces(array('fluxbb' => __DIR__ . DS . 'classes')); if (fluxbb\Core::installed()) { Request::set_env('fluxbb'); } // Set up our custom session handler if (!Request::cli() && !Session::started()) { Session::extend('fluxbb::session', function () { return new fluxbb\Session\Driver(Laravel\Database::connection()); }); Config::set('session.driver', 'fluxbb::session'); Session::load(); } // View composers require 'helpers/composers.php'; // Route filters require 'helpers/filters.php'; // HTML helpers require 'helpers/html.php';