application: introduce the Shaarli\Config namespace
Namespaces have been introduced with the REST API, and should be generalized to the whole codebase to manage object scope and benefit from autoloading. See: - https://secure.php.net/manual/en/language.namespaces.php - http://www.php-fig.org/psr/psr-4/ Signed-off-by: VirtualTam <virtualtam@flibidi.net>
This commit is contained in:
parent
74198dcdf6
commit
3c66e56435
26 changed files with 62 additions and 47 deletions
|
@ -1,4 +1,5 @@
|
|||
<?php
|
||||
use Shaarli\Config\ConfigManager;
|
||||
|
||||
require_once 'plugins/isso/isso.php';
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
<?php
|
||||
use Shaarli\Config\ConfigManager;
|
||||
|
||||
/**
|
||||
* PluginMarkdownTest.php
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
<?php
|
||||
use Shaarli\Config\ConfigManager;
|
||||
|
||||
require_once 'plugins/pubsubhubbub/pubsubhubbub.php';
|
||||
require_once 'application/Router.php';
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
<?php
|
||||
|
||||
/**
|
||||
* PluginQrcodeTest.php
|
||||
*/
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
<?php
|
||||
use Shaarli\Config\ConfigManager;
|
||||
|
||||
/**
|
||||
* PluginReadityourselfTest.php.php
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
<?php
|
||||
use Shaarli\Config\ConfigManager;
|
||||
|
||||
/**
|
||||
* PluginWallabagTest.php.php
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue