pesce88 / phppi

Automatically exported from code.google.com/p/phppi
GNU General Public License v3.0
0 stars 0 forks source link

PHP short open tag on lines 817 and 842 of index.php #2

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.  run index.php on a php install that has short_open_tag = 0; in php.ini
2.  Parse error: syntax error, unexpected $end in 
C:\xampp\htdocs\veldev\logos\index.php on line 1127

3.  :-(

What is the expected output? What do you see instead?
Expected :-) / Instead :-(

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

Please provide any additional information below.
On lines 817 and 842 <? is used instead of <?php which causes a parse error for 
those who have short_open_tag = 0 in their php.ini.  My development environment 
is the default windows install of XAMPP 1.7.4 and (surprisingly actually) 
short_open_tag are disabled.

Original issue reported on code.google.com by shawnefu...@gmail.com on 26 Jan 2011 at 8:55

GoogleCodeExporter commented 9 years ago
Thanks for the report, obviously something I missed, to be honest I used to 
code with <? but have since changed to <?php, must've been a late night when I 
wrote that part heh.

I'll check the whole script tonight for short tags and change to <?php. I'll 
then upload a new version and notify you here.

Original comment by gorounreal on 27 Jan 2011 at 2:38

GoogleCodeExporter commented 9 years ago
The two short tags should now be updated to <?php, check v0.9.5

Original comment by gorounreal on 1 Feb 2011 at 8:57