If this is your first visit, check our documentation. To post, register or login.
Forums / Code Matters / Bug Reports / [Not a bug] general.php syntax

[Not a bug] general.php syntax

Locked

Started by reefdvrjim on 9 Jan 2011, 1:24 AM · Views: 117,079

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
9 Jan 2011, 1:24 AM
#1
reefdvrjim avatar

reefdvrjim

New Zenner

Join Date:
Apr 2009
Posts:
7
Plugin Contributions:
0

[Not a bug] general.php syntax

admin/includes/functions/general.php

at the end of the code there is no ?> to close the php. This has not thrown an error but is something I noticed.

Is it better to not have one in that situation? Sometimes while debugging I have seen situations like this cause problems.

Jim

9 Jan 2011, 1:45 AM
#2
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: [Not a bug] general.php syntax

reefdvrjim:

admin/includes/functions/general.php

at the end of the code there is no ?> to close the php. This has not thrown an error but is something I noticed.

Is it better to not have one in that situation? Sometimes while debugging I have seen situations like this cause problems.

Jim

check this tutorial www.zen-cart.com/tutorials/index.php?article=313

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

9 Jan 2011, 2:19 AM
#3
reefdvrjim avatar

reefdvrjim

New Zenner

Join Date:
Apr 2009
Posts:
7
Plugin Contributions:
0

Re: [Not a bug] general.php syntax

awesome!! Thanks :)