20 lines
602 B
PHP
20 lines
602 B
PHP
<?php
|
|
// Enable error reporting for development environments
|
|
// error_reporting(E_ALL);
|
|
// ini_set('display_errors', 1);
|
|
|
|
// Define the base path where the website is running from
|
|
define('BASEPATH', dirname(__DIR__, 1));
|
|
|
|
// Load Composer's autoload file to handle class autoloading
|
|
require BASEPATH . '/vendor/autoload.php';
|
|
|
|
// Define the framework path
|
|
define('FRAMEWORKPATH', BASEPATH . '/vendor/4lt/novaconium');
|
|
|
|
// Bootstrap the Novaconium framework, which will create necessary objects like $session, $db, etc.
|
|
require FRAMEWORKPATH . '/src/novaconium.php';
|
|
|
|
// Run the application
|
|
makeitso();
|