Skip to content

Commit

Permalink
Improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
danielbrendel committed Feb 22, 2024
1 parent 15f43cf commit eb3b015
Show file tree
Hide file tree
Showing 6 changed files with 39 additions and 7 deletions.
17 changes: 17 additions & 0 deletions app/config/commands.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?php

/*
Asatru PHP - commands configuration file
Add here all your custom commands to be used with the asatru CLI tool
Schema:
[<command>, <description>, <handler>]
Example:
['test:cmd', 'This is a test command', 'TestCommand']
Explanation:
Will call non-static TestCommand::handle($args) in app/commands/TestCommand.php
*/

return [
];
2 changes: 1 addition & 1 deletion app/views/admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@
</div>

<div class="admin-backup {{ ((!isset($_GET['tab'])) || ($_GET['tab'] !== 'backup')) ? 'is-hidden' : ''}}">
<h2>{{ __('app.backup') }}</h2>
<h2>{{ __('app.export') }}</h2>

<div class="field">
<div class="control">
Expand Down
6 changes: 4 additions & 2 deletions asatru
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@
/*
Asatru PHP (dnyAsatruPHP) developed by Daniel Brendel

(C) 2019 - 2023 by Daniel Brendel
(C) 2019 - 2024 by Daniel Brendel

Version: 1.0
Contact: dbrendel1988<at>gmail<dot>com
GitHub: https://github.com/danielbrendel/

Expand All @@ -32,6 +31,9 @@ require_once __DIR__ . '/vendor/danielbrendel/asatru-php-framework/src/console.p
//Require database handler
require_once __DIR__ . '/vendor/danielbrendel/asatru-php-framework/src/database.php';

//Require command handler
require_once __DIR__ . '/vendor/danielbrendel/asatru-php-framework/src/commands.php';

//Process further if in debug mode
if ((isset($_ENV['APP_DEBUG'])) && ($_ENV['APP_DEBUG'])) {
Asatru\Console\handleInput($argv);
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "asatruphp",
"version": "1.0.0",
"description": "(C) 2019 - 2023 by Daniel Brendel",
"description": "(C) 2019 - 2024 by Daniel Brendel",
"main": "index.js",
"directories": {},
"scripts": {
Expand Down
3 changes: 1 addition & 2 deletions public/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@
/*
Asatru PHP (dnyAsatruPHP) developed by Daniel Brendel
(C) 2019 - 2023 by Daniel Brendel
(C) 2019 - 2024 by Daniel Brendel
Version: 1.0
Contact: dbrendel1988<at>gmail<dot>com
GitHub: https://github.com/danielbrendel/
Expand Down
16 changes: 15 additions & 1 deletion public/manifest.json
Original file line number Diff line number Diff line change
@@ -1 +1,15 @@
{"name":"Gartenwahnsinn","short_name":"Gartenwahnsinn","icons":[{"src":"\/logo.png","sizes":"256x256","type":"image\/png"}],"start_url":"\/","display":"fullscreen","background_color":"white","theme_color":"white"}
{
"name": "HortusFox",
"short_name": "HortusFox",
"icons": [
{
"src": "/logo.png",
"sizes": "256x256",
"type": "image/png"
}
],
"start_url": "/",
"display": "fullscreen",
"background_color": "white",
"theme_color": "white"
}

0 comments on commit eb3b015

Please sign in to comment.