Old versions of PHP don't support constant concatenation
This commit is contained in:
parent
8eac424386
commit
a52c670c79
@ -2,7 +2,7 @@
|
||||
|
||||
namespace Template;
|
||||
|
||||
const PATH = __DIR__.'/../templates/';
|
||||
const PATH = 'app/templates/';
|
||||
|
||||
// Template\load('template_name', ['bla' => 'value']);
|
||||
function load()
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
namespace Translator;
|
||||
|
||||
const PATH = __DIR__.'/../locales/';
|
||||
const PATH = '../locales/';
|
||||
|
||||
function translate($identifier)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user