Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
f80f7bed6b | |||
e3cf6beebb |
@ -14,7 +14,7 @@
|
|||||||
*/
|
*/
|
||||||
namespace TheTempusProject\Bedrock\Bin;
|
namespace TheTempusProject\Bedrock\Bin;
|
||||||
|
|
||||||
use TheTempusProject\Canary\Canary as Debug;
|
use TheTempusProject\Canary\Bin\Canary as Debug;
|
||||||
use TheTempusProject\Hermes\Functions\Route as Routes;
|
use TheTempusProject\Hermes\Functions\Route as Routes;
|
||||||
use TheTempusProject\Bedrock\Functions\Input;
|
use TheTempusProject\Bedrock\Functions\Input;
|
||||||
use TheTempusProject\Bedrock\Functions\Check;
|
use TheTempusProject\Bedrock\Functions\Check;
|
||||||
@ -46,8 +46,8 @@ class Bedrock {
|
|||||||
Debug::group( 'Bedrock Application' );
|
Debug::group( 'Bedrock Application' );
|
||||||
ob_start();
|
ob_start();
|
||||||
self::$activeConfig = new Config( CONFIG_JSON );
|
self::$activeConfig = new Config( CONFIG_JSON );
|
||||||
set_error_handler( [ 'TheTempusProject\\Canary\\Canary', 'handle_error' ] );
|
set_error_handler( [ BEDROCK_DEFAULT_ERROR_HANDLER, 'handle_error' ] );
|
||||||
set_exception_handler( [ 'TheTempusProject\\Canary\\Canary', 'handle_exception' ] );
|
set_exception_handler( [ BEDROCK_DEFAULT_EXCEPTION_HANDLER, 'handle_exception' ] );
|
||||||
self::$controllerName = DEFAULT_CONTROLLER_CLASS;
|
self::$controllerName = DEFAULT_CONTROLLER_CLASS;
|
||||||
self::$methodName = DEFAULT_CONTROLLER_METHOD;
|
self::$methodName = DEFAULT_CONTROLLER_METHOD;
|
||||||
$this->setUrl( $url );
|
$this->setUrl( $url );
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
*/
|
*/
|
||||||
namespace TheTempusProject\Bedrock\Classes;
|
namespace TheTempusProject\Bedrock\Classes;
|
||||||
|
|
||||||
use TheTempusProject\Canary\Canary as Debug;
|
use TheTempusProject\Canary\Bin\Canary as Debug;
|
||||||
use TheTempusProject\Bedrock\Functions\Check;
|
use TheTempusProject\Bedrock\Functions\Check;
|
||||||
use TheTempusProject\Bedrock\Functions\Input;
|
use TheTempusProject\Bedrock\Functions\Input;
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
*/
|
*/
|
||||||
namespace TheTempusProject\Bedrock\Classes;
|
namespace TheTempusProject\Bedrock\Classes;
|
||||||
|
|
||||||
use TheTempusProject\Canary\Canary as Debug;
|
use TheTempusProject\Canary\Bin\Canary as Debug;
|
||||||
use TheTempusProject\Bedrock\Functions\Session;
|
use TheTempusProject\Bedrock\Functions\Session;
|
||||||
use TheTempusProject\Houdini\Classes\Issues;
|
use TheTempusProject\Houdini\Classes\Issues;
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@ namespace TheTempusProject\Bedrock\Classes;
|
|||||||
|
|
||||||
use Exception;
|
use Exception;
|
||||||
use TheTempusProject\Hermes\Functions\Redirect;
|
use TheTempusProject\Hermes\Functions\Redirect;
|
||||||
use TheTempusProject\Canary\Canary as Debug;
|
use TheTempusProject\Canary\Bin\Canary as Debug;
|
||||||
|
|
||||||
class CustomException extends Exception {
|
class CustomException extends Exception {
|
||||||
private $originFunction = null;
|
private $originFunction = null;
|
||||||
|
@ -16,7 +16,7 @@ namespace TheTempusProject\Bedrock\Classes;
|
|||||||
use PDO;
|
use PDO;
|
||||||
use PDOException;
|
use PDOException;
|
||||||
use TheTempusProject\Houdini\Classes\Pagination;
|
use TheTempusProject\Houdini\Classes\Pagination;
|
||||||
use TheTempusProject\Canary\Canary as Debug;
|
use TheTempusProject\Canary\Bin\Canary as Debug;
|
||||||
|
|
||||||
class Database {
|
class Database {
|
||||||
public static $instance = null;
|
public static $instance = null;
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
*/
|
*/
|
||||||
namespace TheTempusProject\Bedrock\Classes;
|
namespace TheTempusProject\Bedrock\Classes;
|
||||||
|
|
||||||
use TheTempusProject\Canary\Canary as Debug;
|
use TheTempusProject\Canary\Bin\Canary as Debug;
|
||||||
use TheTempusProject\Bedrock\Functions\Check;
|
use TheTempusProject\Bedrock\Functions\Check;
|
||||||
use TheTempusProject\Bedrock\Bedrock;
|
use TheTempusProject\Bedrock\Bedrock;
|
||||||
|
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
*/
|
*/
|
||||||
namespace TheTempusProject\Bedrock\Classes;
|
namespace TheTempusProject\Bedrock\Classes;
|
||||||
|
|
||||||
use TheTempusProject\Canary\Canary as Debug;
|
use TheTempusProject\Canary\Bin\Canary as Debug;
|
||||||
use TheTempusProject\Bedrock\Classes\Config;
|
use TheTempusProject\Bedrock\Classes\Config;
|
||||||
use TheTempusProject\Bedrock\Classes\Database;
|
use TheTempusProject\Bedrock\Classes\Database;
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@ use TheTempusProject\Hermes\Functions\Route as Routes;
|
|||||||
use TheTempusProject\Bedrock\Functions\Input;
|
use TheTempusProject\Bedrock\Functions\Input;
|
||||||
use TheTempusProject\Bedrock\Classes\Config;
|
use TheTempusProject\Bedrock\Classes\Config;
|
||||||
use TheTempusProject\Bedrock\Functions\Check;
|
use TheTempusProject\Bedrock\Functions\Check;
|
||||||
use TheTempusProject\Canary\Canary as Debug;
|
use TheTempusProject\Canary\Bin\Canary as Debug;
|
||||||
|
|
||||||
class Pagination extends Template {
|
class Pagination extends Template {
|
||||||
//The settings that will not change
|
//The settings that will not change
|
||||||
|
@ -65,6 +65,12 @@
|
|||||||
if (!defined('CANARY_ENABLED')) {
|
if (!defined('CANARY_ENABLED')) {
|
||||||
define('CANARY_ENABLED', false);
|
define('CANARY_ENABLED', false);
|
||||||
}
|
}
|
||||||
|
if (!defined('BEDROCK_DEFAULT_ERROR_HANDLER')) {
|
||||||
|
define('BEDROCK_DEFAULT_ERROR_HANDLER', 'TheTempusProject\\Canary\\Bin\\Canary');
|
||||||
|
}
|
||||||
|
if (!defined('BEDROCK_DEFAULT_EXCEPTION_HANDLER')) {
|
||||||
|
define('BEDROCK_DEFAULT_EXCEPTION_HANDLER', 'TheTempusProject\\Canary\\Bin\\Canary');
|
||||||
|
}
|
||||||
if (!defined('DEBUG_EMAIL')) {
|
if (!defined('DEBUG_EMAIL')) {
|
||||||
define('DEBUG_EMAIL', 'webmaster@' . $_SERVER['HTTP_HOST']);
|
define('DEBUG_EMAIL', 'webmaster@' . $_SERVER['HTTP_HOST']);
|
||||||
}
|
}
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
namespace TheTempusProject\Bedrock\Functions;
|
namespace TheTempusProject\Bedrock\Functions;
|
||||||
|
|
||||||
use TheTempusProject\Bedrock\Classes\Config;
|
use TheTempusProject\Bedrock\Classes\Config;
|
||||||
use TheTempusProject\Canary\Canary as Debug;
|
use TheTempusProject\Canary\Bin\Canary as Debug;
|
||||||
|
|
||||||
class Check {
|
class Check {
|
||||||
private static $formValidator = null;
|
private static $formValidator = null;
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
*/
|
*/
|
||||||
namespace TheTempusProject\Bedrock\Functions;
|
namespace TheTempusProject\Bedrock\Functions;
|
||||||
|
|
||||||
use TheTempusProject\Canary\Canary as Debug;
|
use TheTempusProject\Canary\Bin\Canary as Debug;
|
||||||
|
|
||||||
class Code {
|
class Code {
|
||||||
/**
|
/**
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
*/
|
*/
|
||||||
namespace TheTempusProject\Bedrock\Functions;
|
namespace TheTempusProject\Bedrock\Functions;
|
||||||
|
|
||||||
use TheTempusProject\Canary\Canary as Debug;
|
use TheTempusProject\Canary\Bin\Canary as Debug;
|
||||||
|
|
||||||
class Cookie {
|
class Cookie {
|
||||||
/**
|
/**
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
*/
|
*/
|
||||||
namespace TheTempusProject\Bedrock\Functions;
|
namespace TheTempusProject\Bedrock\Functions;
|
||||||
|
|
||||||
use TheTempusProject\Canary\Canary as Debug;
|
use TheTempusProject\Canary\Bin\Canary as Debug;
|
||||||
|
|
||||||
class Hash {
|
class Hash {
|
||||||
/**
|
/**
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
*/
|
*/
|
||||||
namespace TheTempusProject\Bedrock\Functions;
|
namespace TheTempusProject\Bedrock\Functions;
|
||||||
|
|
||||||
use TheTempusProject\Canary\Canary as Debug;
|
use TheTempusProject\Canary\Bin\Canary as Debug;
|
||||||
|
|
||||||
class Input {
|
class Input {
|
||||||
/**
|
/**
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
*/
|
*/
|
||||||
namespace TheTempusProject\Bedrock\Functions;
|
namespace TheTempusProject\Bedrock\Functions;
|
||||||
|
|
||||||
use TheTempusProject\Canary\Canary as Debug;
|
use TheTempusProject\Canary\Bin\Canary as Debug;
|
||||||
|
|
||||||
class Session {
|
class Session {
|
||||||
/**
|
/**
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
namespace TheTempusProject\Bedrock\Functions;
|
namespace TheTempusProject\Bedrock\Functions;
|
||||||
|
|
||||||
use TheTempusProject\Bedrock\Classes\Config;
|
use TheTempusProject\Bedrock\Classes\Config;
|
||||||
use TheTempusProject\Canary\Canary as Debug;
|
use TheTempusProject\Canary\Bin\Canary as Debug;
|
||||||
|
|
||||||
class Token {
|
class Token {
|
||||||
private static $tokenName;
|
private static $tokenName;
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
*/
|
*/
|
||||||
namespace TheTempusProject\Bedrock\Functions;
|
namespace TheTempusProject\Bedrock\Functions;
|
||||||
|
|
||||||
use TheTempusProject\Canary\Canary as Debug;
|
use TheTempusProject\Canary\Bin\Canary as Debug;
|
||||||
|
|
||||||
class Upload {
|
class Upload {
|
||||||
public static $lastUpload = null;
|
public static $lastUpload = null;
|
||||||
|
4
composer.lock
generated
4
composer.lock
generated
@ -100,7 +100,7 @@
|
|||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://git.thetempusproject.com/the-tempus-project/houdini",
|
"url": "https://git.thetempusproject.com/the-tempus-project/houdini",
|
||||||
"reference": "008d7d90230f9eee87d8dbe982e55fae433e1337"
|
"reference": "3de98733ac32c0a6e1a3230cbccfa33263e399be"
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
"php": ">=8.1.0",
|
"php": ">=8.1.0",
|
||||||
@ -137,7 +137,7 @@
|
|||||||
"thetempusproject",
|
"thetempusproject",
|
||||||
"tools"
|
"tools"
|
||||||
],
|
],
|
||||||
"time": "2024-08-09T04:38:04+00:00"
|
"time": "2024-08-09T04:56:06+00:00"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"packages-dev": [],
|
"packages-dev": [],
|
||||||
|
Reference in New Issue
Block a user