Rebuilding with CodeIgniter 4

This commit is contained in:
Timothy Rogers 2020-07-27 22:22:06 -04:00
parent e6dcc92267
commit 3bce4ad0ac
92 changed files with 7304 additions and 380 deletions

BIN
public/assets/avatar_1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

12
public/assets/bootstrap.min.css vendored Normal file

File diff suppressed because one or more lines are too long

BIN
public/assets/firefox-1.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

BIN
public/assets/firefox-2.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

BIN
public/assets/firefox-3.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

3
public/assets/style.css Normal file
View file

@ -0,0 +1,3 @@
h1 {
color: deepskyblue;
}

BIN
public/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

45
public/index.php Normal file
View file

@ -0,0 +1,45 @@
<?php
// Valid PHP Version?
$minPHPVersion = '7.2';
if (phpversion() < $minPHPVersion)
{
die("Your PHP version must be {$minPHPVersion} or higher to run CodeIgniter. Current version: " . phpversion());
}
unset($minPHPVersion);
// Path to the front controller (this file)
define('FCPATH', __DIR__ . DIRECTORY_SEPARATOR);
// Location of the Paths config file.
// This is the line that might need to be changed, depending on your folder structure.
$pathsPath = realpath(FCPATH . '../app/Config/Paths.php');
// ^^^ Change this if you move your application folder
/*
*---------------------------------------------------------------
* BOOTSTRAP THE APPLICATION
*---------------------------------------------------------------
* This process sets up the path constants, loads and registers
* our autoloader, along with Composer's, loads our constants
* and fires up an environment-specific bootstrapping.
*/
// Ensure the current directory is pointing to the front controller's directory
chdir(__DIR__);
// Load our paths config file
require $pathsPath;
$paths = new Config\Paths();
// Location of the framework bootstrap file.
$app = require rtrim($paths->systemDirectory, '/ ') . '/bootstrap.php';
/*
*---------------------------------------------------------------
* LAUNCH THE APPLICATION
*---------------------------------------------------------------
* Now that everything is setup, it's time to actually fire
* up the engines and make this app do its thang.
*/
$app->run();

2
public/robots.txt Normal file
View file

@ -0,0 +1,2 @@
User-agent: *
Disallow: