Skip to content

Commit 46f57ff

Browse files
committed
update to 2.3.12
1 parent e74de4f commit 46f57ff

File tree

7,988 files changed

+132014
-403950
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

7,988 files changed

+132014
-403950
lines changed

base-semantic-a/.ubiquity/.htrouter.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
2-
$uri = ltrim(urldecode(parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH)),'/');
3-
if ($uri==null || !file_exists(__DIR__ . '/../' .$uri)) {
2+
$uri = \ltrim(\urldecode(\parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH)),'/');
3+
if ($uri!=='favicon.ico' && ($uri==null || !\file_exists(__DIR__ . '/../' .$uri))) {
44
$_GET['c'] = $uri;
55
include_once '_index.php';
66
return true;

base-semantic-a/.ubiquity/_index.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@
66
}
77
$config = include ROOT . 'config/config.php';
88
$sConfig= include __DIR__.\DS.'config.php';
9-
$config ["siteUrl"] = 'http://'.$sConfig['host'].':'.$sConfig['port'];
9+
$config ["siteUrl"] = 'http://'.$sConfig['host'].':'.$sConfig['port'].'/';
1010
$config ['sessionName'] = $sConfig['sessionName'];
11+
require ROOT . './../vendor/autoload.php';
12+
$config['debug']=true;
1113
if(class_exists("\\Monolog\\Logger")){
1214
$config['logger']=function () use($sConfig){return new \Ubiquity\log\libraries\UMonolog($sConfig['sessionName'],\Monolog\Logger::INFO);};
13-
$config['debug']=true;
14-
Ubiquity\log\Logger::init($config);
15+
\Ubiquity\log\Logger::init($config);
1516
}
16-
require ROOT . './../vendor/autoload.php';
1717
require ROOT . 'config/services.php';
18-
\Ubiquity\controllers\Startup::run ( $config );
18+
\Ubiquity\controllers\Startup::run ( $config );
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
<?php
2-
return array("host"=>"127.0.0.1","port"=>8090,"sessionName"=>"s5cccc8cbb5b29");
2+
return array("host"=>"127.0.0.1","port"=>8090,"sessionName"=>"s5f6a7e626e9c4");
Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,14 @@
11
<?php
22
use Ubiquity\controllers\Router;
3+
use Ubiquity\events\EventsManager;
4+
use Ubiquity\events\RestEvents;
5+
use Ubiquity\controllers\rest\RestBaseController;
36

4-
//\Ubiquity\orm\DAO::start(); to use only with multiple databases
5-
Router::start();
7+
\Ubiquity\cache\CacheManager::startProd($config);
8+
\Ubiquity\orm\DAO::start();
9+
Router::startAll();
610
Router::addRoute("_default", "controllers\\IndexController");
711
\Ubiquity\assets\AssetsManager::start($config);
12+
EventsManager::addListener(RestEvents::BEFORE_INSERT, function ($o, array &$datas, RestBaseController $resource) {
13+
unset($datas['aliases']);
14+
});

base-semantic-a/app/logs/app.log

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{"message":"Route found for /_default/ : controllers\\IndexController/index","context":{"context":"Router","part":"getRouteUrlParts","extra":null},"level":200,"level_name":"INFO","channel":"s5f6a7e626e9c4","datetime":{"date":"2020-10-03 00:47:38.449898","timezone_type":3,"timezone":"Europe/Berlin"},"extra":[]}
2+
{"message":"The controller `controllers\\public` doesn't exists! <br/>","context":{"context":"Startup","part":"runAction","extra":null},"level":300,"level_name":"WARNING","channel":"s5f6a7e626e9c4","datetime":{"date":"2020-10-03 00:47:39.126000","timezone_type":3,"timezone":"Europe/Berlin"},"extra":[]}
3+
{"message":"Route found for /_default/ : controllers\\IndexController/index","context":{"context":"Router","part":"getRouteUrlParts","extra":null},"level":200,"level_name":"INFO","channel":"s5f6a7e626e9c4","datetime":{"date":"2020-10-03 00:47:51.008362","timezone_type":3,"timezone":"Europe/Berlin"},"extra":[]}
4+
{"message":"The controller `controllers\\public` doesn't exists! <br/>","context":{"context":"Startup","part":"runAction","extra":null},"level":300,"level_name":"WARNING","channel":"s5f6a7e626e9c4","datetime":{"date":"2020-10-03 00:47:51.444082","timezone_type":3,"timezone":"Europe/Berlin"},"extra":[]}
5+
{"message":"Route found for /_default/ : controllers\\IndexController/index","context":{"context":"Router","part":"getRouteUrlParts","extra":null},"level":200,"level_name":"INFO","channel":"s5f6a7e626e9c4","datetime":{"date":"2020-10-03 00:48:36.975848","timezone_type":3,"timezone":"Europe/Berlin"},"extra":[]}
6+
{"message":"Route found for /_default/ : controllers\\IndexController/index","context":{"context":"Router","part":"getRouteUrlParts","extra":null},"level":200,"level_name":"INFO","channel":"s5f6a7e626e9c4","datetime":{"date":"2020-10-03 00:51:45.051871","timezone_type":3,"timezone":"Europe/Berlin"},"extra":[]}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{% block footer %}
2+
{% endblock %}
3+
{% block scripts %}
4+
{{ js('https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.1/jquery.min.js') }}
5+
{{ js('https://cdn.jsdelivr.net/npm/[email protected]/dist/semantic.min.js') }}
6+
{% endblock %}
7+
</body>
8+
</html>
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
{% block header %}
5+
<base href="{{config["siteUrl"]}}">
6+
<meta charset="UTF-8">
7+
<link rel="icon" href="data:;base64,iVBORw0KGgo=">
8+
<title>quick-start</title>
9+
{% endblock %}
10+
{% block css %}
11+
{{ css('https://cdn.jsdelivr.net/npm/[email protected]/dist/semantic.min.css') }}
12+
{{css('css/style.css') | raw}}
13+
{% endblock %}
14+
</head>
15+
<body>
16+
{% block head %}
17+
{% endblock %}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<div class="head">
2+
<div class="ui container">
3+
<div class="ui pointing inverted menu">
4+
<div class="header item">
5+
Themes
6+
</div>
7+
{% for theme in themes %}
8+
<a class="item {{ activeTheme==theme ? 'active' }}" href="IndexController/ct/{{theme}}">
9+
{{theme}}
10+
</a>
11+
{% endfor %}
12+
</div>
13+
</div>
14+
</div>

0 commit comments

Comments
 (0)