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