Skip to content

2.0.8 release

Compare
Choose a tag to compare
@jcheron jcheron released this 20 Jan 01:41
· 2917 commits to master since this release

Optimizations

  • ORM & relations oneToMany
  • apc to apcu cache for Translations
  • Router : routes array minification
  • Scrutinizer debugging : 0 bug !
  • Scrutinizer evaluation : 9.61 very good!

Modifications

  • Translator=>TranslatorManager with static methods

Requires an update of index.php

<?php
define('DS', DIRECTORY_SEPARATOR);
define('ROOT', __DIR__.DS.'app'.DS);
$config=include ROOT.'config/config.php';
require ROOT.'./../vendor/autoload.php';
require ROOT.'config/services.php';
\Ubiquity\controllers\Startup::run($config);

Starting the translatorManager in app/config/services.php:

Ubiquity\translation\TranslatorManager::start('fr_FR','en');