7 Commits
1.1.2 ... 1.1.6

Author SHA1 Message Date
cfa53c9e70 add safe-version of url 2025-02-05 22:02:46 -05:00
39d350df06 composer bump 2025-02-04 07:26:47 -05:00
3f2bd6869b composer fix 2025-02-04 07:14:02 -05:00
1d9c772e73 composer fixes 2025-02-03 12:45:02 -05:00
1101055a5d composer and autoloading changes for renaming 2025-02-03 12:39:08 -05:00
98b2f8086c rename p2 2025-02-03 12:30:10 -05:00
20f09e6789 rename p1 2025-02-03 12:29:16 -05:00
24 changed files with 28 additions and 27 deletions

View File

@ -17,7 +17,7 @@ if ( ! defined('BEDROCK_ROOT_DIRECTORY' ) ) {
define('BEDROCK_ROOT_DIRECTORY', dirname(__DIR__) . DIRECTORY_SEPARATOR);
}
if ( ! defined('BEDROCK_CONFIG_DIRECTORY' ) ) {
define('BEDROCK_CONFIG_DIRECTORY', BEDROCK_ROOT_DIRECTORY . 'Config' . DIRECTORY_SEPARATOR);
define('BEDROCK_CONFIG_DIRECTORY', BEDROCK_ROOT_DIRECTORY . 'config' . DIRECTORY_SEPARATOR);
}
if ( ! defined('BEDROCK_CONSTANTS_LOADED' ) ) {
require_once BEDROCK_CONFIG_DIRECTORY . 'constants.php';
@ -27,19 +27,19 @@ if ( class_exists( 'TheTempusProject\Hermes\Classes\Autoloader' ) ) {
$autoloader->setRootFolder( BEDROCK_ROOT_DIRECTORY );
$autoloader->addNamespace(
'TheTempusProject\Bedrock',
'Bin'
'bin'
);
$autoloader->addNamespace(
'TheTempusProject\Bedrock\Classes',
'Classes'
'classes'
);
$autoloader->addNamespace(
'TheTempusProject\Bedrock\Functions',
'Functions'
'functions'
);
$autoloader->register();
}
require_once 'Bedrock.php';
require_once 'bedrock.php';
define( 'BEDROCK_AUTOLOADED', true );

View File

@ -121,6 +121,7 @@ class Bedrock {
}
Components::set( 'META_IMAGE', Routes::getAddress() . Config::getValue( 'main/logoLarge' ) );
Components::set( 'CURRENT_URL', self::getCurrentUrl() );
Components::set( 'CURRENT_URL_SAFE', urlencode( self::getUrl() ) );
Components::set( 'SITENAME', Config::getValue( 'main/name' ) ?? APP_NAME );
Components::set( 'AUTHOR', '<meta name="author" content="' . Config::getValue( 'main/name' ) . '">' );
call_user_func_array( [ $this->controllerObject, self::$methodName ], $this->params );

View File

@ -24,21 +24,21 @@
"require":
{
"php": ">=8.1.0",
"thetempusproject/canary": "1.0.7",
"thetempusproject/canary": "1.0.9",
"thetempusproject/hermes": "1.0.5",
"thetempusproject/houdini": "2.0.3"
"thetempusproject/houdini": "2.0.5"
},
"autoload":
{
"psr-4":
{
"TheTempusProject\\Bedroock\\Classes\\": "Classes",
"TheTempusProject\\Bedroock\\Functions\\": "Functions"
},
"classmap":
[
"classes",
"functions"
],
"files":
[
"Config/constants.php",
"Bin/Bedrock.php"
"config/constants.php",
"bin/bedrock.php"
]
}
}

26
composer.lock generated
View File

@ -4,15 +4,15 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "a5baf978df78c7223d6c2f4bf2421050",
"content-hash": "8c8b2e1232989c7e9998964f1fe5fc86",
"packages": [
{
"name": "thetempusproject/canary",
"version": "1.0.7",
"version": "1.0.9",
"source": {
"type": "git",
"url": "https://git.thetempusproject.com/the-tempus-project/canary",
"reference": "9c48e66bf54e63ba5ad2d4af90306c87b69f7048"
"reference": "77cef522e9919573836901eb82b59b20f453fb61"
},
"require": {
"php": ">=8.1.0"
@ -20,12 +20,12 @@
"type": "library",
"autoload": {
"files": [
"Config/constants.php",
"Bin/Canary.php"
"config/constants.php",
"bin/canary.php"
],
"psr-4": {
"TheTempusProject\\Canary\\Classes\\": "Classes"
}
"classmap": [
"classes"
]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
@ -48,7 +48,7 @@
"thetempusproject",
"tools"
],
"time": "2025-02-02T23:02:51+00:00"
"time": "2025-02-04T12:16:29+00:00"
},
{
"name": "thetempusproject/hermes",
@ -96,15 +96,15 @@
},
{
"name": "thetempusproject/houdini",
"version": "2.0.3",
"version": "2.0.5",
"source": {
"type": "git",
"url": "https://git.thetempusproject.com/the-tempus-project/houdini",
"reference": "4c9c9b60233c4dd7a366758c8436560098761eb5"
"reference": "2c7538471ab1f900048ccdb2c71d6bf2bee975e0"
},
"require": {
"php": ">=8.1.0",
"thetempusproject/canary": "1.0.7",
"thetempusproject/canary": "1.0.9",
"thetempusproject/hermes": "1.0.5"
},
"type": "library",
@ -136,7 +136,7 @@
"thetempusproject",
"tools"
],
"time": "2025-02-02T23:31:11+00:00"
"time": "2025-02-04T12:19:25+00:00"
}
],
"packages-dev": [],