Added Tabs to edit page
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
<?php
|
||||
|
||||
class Logger {
|
||||
protected string $logFile;
|
||||
protected int $logLevelThreshold;
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Use
|
||||
* $redirect->url('/login');
|
||||
|
||||
10
src/Services/Auth.php
Normal file
10
src/Services/Auth.php
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
namespace Novaconium\Services;
|
||||
class Auth
|
||||
{
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
14
src/Services/TagManager.php
Normal file
14
src/Services/TagManager.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
namespace Novaconium\Services;
|
||||
/**
|
||||
* TagManager Class
|
||||
* Handles tag preparation, insertion, and linking for pages.
|
||||
* Cleans up controller by encapsulating tag logic.
|
||||
*/
|
||||
class TagManager
|
||||
{
|
||||
public function __construct()
|
||||
{
|
||||
echo "class access";
|
||||
}
|
||||
}
|
||||
@@ -1,7 +1,6 @@
|
||||
<?php
|
||||
define('FRAMEWORKPATH', BASEPATH . '/vendor/4lt/novaconium');
|
||||
|
||||
require_once(BASEPATH . '/vendor/autoload.php');
|
||||
define('FRAMEWORKPATH', BASEPATH . '/vendor/4lt/novaconium');
|
||||
|
||||
//Check if config file exists
|
||||
if (file_exists(BASEPATH . '/App/config.php')) {
|
||||
@@ -48,7 +47,7 @@ if (!empty($config['database']['host'])) {
|
||||
// Sanatize POST Data
|
||||
if (!empty($_POST)) {
|
||||
require_once(FRAMEWORKPATH . '/src/Post.php');
|
||||
$post = new POST($_POST);
|
||||
$post = new Post($_POST);
|
||||
}
|
||||
|
||||
// Start a Redirect
|
||||
|
||||
Reference in New Issue
Block a user