Version 1.0

This commit is contained in:
Artur Welp
2019-03-11 19:44:28 -03:00
parent d61f18b04d
commit 06b6875ca9
110 changed files with 31928 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
<?php
use BBRouter\RouteCollection as RouteCollection;
use RequestResponse\Response as Response;
RouteCollection::add("GET", '/', function() {
global $OUTPUT;
$OUTPUT->load_view('wellcome');
})->middleware_ignore('auth');
RouteCollection::add("GET", '/wellcome', function() {
Response::json('This is an other wellcome message')->send();
})->middleware_ignore('auth');
+2
View File
@@ -0,0 +1,2 @@
<?php
+7
View File
@@ -0,0 +1,7 @@
<?php
$string['wellcome']['module_name'] = 'wellcome';
$string['wellcome']['wellcome'] = 'Bem-vindo!';
+7
View File
@@ -0,0 +1,7 @@
<div style="text-align: center">
<img src="media/logo_black.png" />
</div>
Wellcome to hell...
<br />
I shal be your guide