User sees the text of some PHP script

1 reply [Last post]
Marvin
User offline. Last seen 13 years 20 weeks ago. Offline
Joined: 2008-12-30
Posts: 54
User sees the text of some PHP script when you click at demos, there is some php code which isn't really there to be seen, is it? Big Grin [quote] ?p#p if ( user_access('create demo content') ) print l('Add your demo', 'node/add/demo', NULL, drupal_get_destination()); ? [/quote] kind regards, Marv
Josh
Josh's picture
User offline. Last seen 14 years 35 weeks ago. Offline
Joined: 2008-11-09
Posts: 430
Well spotted! ?php if ( user_access('create demo content') ) print l('Add your demo', 'node/add/demo', NULL, drupal_get_destination()); ? I think it's the "l" after "print", probably added by mistake if that is the case. I'm no php expert though xD
[img]http://i38.tinypic.com/29wu49d.jpg[/img]
Copyright © 2004-2023 Hedgewars Project. All rights reserved. [ contact ]