Moved bootstrap to novaconium

This commit is contained in:
Nick Yeoman 2024-09-01 17:17:12 -07:00
parent 8190b5ed71
commit ea40fc8e38
6 changed files with 10 additions and 12 deletions

View File

@ -16,8 +16,7 @@ Master Repo: https://git.4lt.ca/4lt/novaconium
```bash ```bash
mkdir project_name; mkdir project_name;
cd project_name; cd project_name;
mkdir -p App/controllers App/templates App/views public
touch App/controllers/404.php App/controllers/index.php App/views/index.html.twig public/index.php public/.htaccess App/routes.php
composer require 4lt/novaconium composer require 4lt/novaconium
cp -R vendor/4lt/novaconium/examples/App/ .
cp -R vendor/4lt/novaconium/examples/public/ .
``` ```

View File

@ -1,6 +0,0 @@
<?php
error_reporting(E_ALL);
ini_set('display_errors', 1);
define('BASEPATH', dirname(__DIR__, 1));
require_once(BASEPATH . '/vendor/4lt/novaconium/src/bootstrap.php');
?>

View File

@ -0,0 +1 @@
{# Overrides go here #}

View File

@ -1,6 +1,4 @@
RewriteEngine On RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?_uri=$1 [QSA,L] RewriteRule ^(.*)$ index.php?_uri=$1 [QSA,L]

View File

@ -0,0 +1,6 @@
<?php
// error_reporting(E_ALL);
// ini_set('display_errors', 1);
define('BASEPATH', dirname(__DIR__, 1));
require_once(BASEPATH . '/vendor/4lt/novaconium/src/novaconium.php');
?>