define constant does not work
Posted: August 12th, 2017, 9:35 am
so I have an easy question.
In the php code of the shop there are a lot of constant who are defined.
My problem is now that the constant are not recogniced as a string
for example
If I gonna use it like
Im using the latest version of VS 12 Professional and the latest version from PHPTools
Where is my problem?
In the php code of the shop there are a lot of constant who are defined.
My problem is now that the constant are not recogniced as a string
for example
- Code: Select all
define('TemplatePath', 'some/path/to/the/template/');
If I gonna use it like
- Code: Select all
TemplatePath . 'myTemplateFolder'
- Code: Select all
TemplatePathmyTemplateFolder
- Code: Select all
some/path/to/the/template/myTemplateFolder
Im using the latest version of VS 12 Professional and the latest version from PHPTools
Where is my problem?