nciri / zend-db-model-generator

Automatically exported from code.google.com/p/zend-db-model-generator
0 stars 0 forks source link

__DIR__ is 5.3+ only #16

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Use PHP < 5.3
2. __DIR__ magic constant is unavailable

What is the expected output? What do you see instead?
The readme states that you need php-cli 5.2+, but __DIR__ did not appear until 
5.3.0

What version of the product are you using? On what operating system?
PHP 5.2.10

Please provide any additional information below.
Fix is to either restrict the required PHP version to 5.3+, or to replace all 
occurrences of __DIR__ with dirname(__FILE__)

Original issue reported on code.google.com by ch...@mainelyoffroad.com on 29 Dec 2011 at 6:23

GoogleCodeExporter commented 8 years ago
resolved the issue in GIT. this patch will be in the next release. thanks :) 

Original comment by kfirufk@gmail.com on 8 Jan 2012 at 3:49