Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
Mediashare committed May 17, 2021
0 parents commit 4bca0c5
Show file tree
Hide file tree
Showing 2,365 changed files with 314,520 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
config/private.key
vendor
!var/databases/commands.yaml
var
661 changes: 661 additions & 0 deletions LICENSE

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Marquand.pro
Terminal web browser
17 changes: 17 additions & 0 deletions bin/console
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#!/env/php
<?php
require '../vendor/autoload.php';

use Mediashare\Modules\Arguments;
use Mediashare\Modules\Output;
use Kzu\Command;

Class Console {
use Command;
public function run() {
Command::$arguments = new Arguments();
Command::$output = new Output();
Command::run();
}

}
25 changes: 25 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"name": "kzu/kzu",
"type": "project",
"license": "AGPL-3.0-or-later",
"authors": [
{
"name": "MarquandT",
"email": "[email protected]"
}
],
"autoload": {
"psr-4": {
"Kzu\\": "src/Kzu",
"App\\": "src/App"
}
},
"require-dev": {
"tracy/tracy": "^2.8"
},
"require": {
"kzu/web": "*",
"mailjet/mailjet-apiv3-php": "^1.5",
"coinbase/coinbase": "^2.8"
}
}
38 changes: 38 additions & 0 deletions config/framework.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
env: dev
storage:
database:
directory: /var/databases
session:
lifetime: +7days
twig:
debug: true
cache: false # /var/cache
template.directory: /template
routes:
index:
path: /
controller: 'App\Controller\Main::index'

register:
path: /register
controller: 'Kzu\Controller\Authentification::register'
login:
path: /login
controller: 'Kzu\Controller\Authentification::login'
logout:
path: /logout
controller: 'Kzu\Controller\Authentification::logout'
admin:
path: /admin
controller: 'Kzu\Controller\Admin::index'
admin_config:
path: '/admin/config/{config}'
controller: 'Kzu\Controller\Admin::config'
admin_database:
path: '/admin/database/{database}'
controller: 'Kzu\Controller\Admin::database'

error_404:
path: /error/404
controller: 'Kzu\Controller\Error::error_404'

Loading

0 comments on commit 4bca0c5

Please sign in to comment.