1
Bugs and Issues / Re: PHP code generation bug?
« on: July 31, 2008, 01:07:34 am »
Yes, it worked for me. In the code template for PHP , section Import I changed the line:
$file = %importRelativeFilePath%
to
$file = %importFilePath%
The target directory for my generated code is: c:\codeg
Then I did a search and replace of the files with:
search on: 'c:\codeg
repplace: $baseDir . '
I know there is probarly a nicer way to implement the basedir directly in the php codetemplate but EA is pretty new to me so I decided to go for the quick solution for now.
$file = %importRelativeFilePath%
to
$file = %importFilePath%
The target directory for my generated code is: c:\codeg
Then I did a search and replace of the files with:
search on: 'c:\codeg
repplace: $baseDir . '
I know there is probarly a nicer way to implement the basedir directly in the php codetemplate but EA is pretty new to me so I decided to go for the quick solution for now.