Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

$this->include_page=FILENAME_PRODUCT_INFO; changes to what?


Guest

Recommended Posts

Editing an old contrib to see if I can get it running.  Yep, I'm going down that road again.

$this->include_page=FILENAME_PRODUCT_INFO;

Should that be:

$this->include_page='product_info.php';

The actual file name surrounded with apostrophes?

Thanks!

- Andrea

 

Link to comment
Share on other sites

Hello Rainer,

I"m going to try installing that SEO contrib you recommended to me again. 

Thanks for the reply!

- Andrea

Link to comment
Share on other sites

Just so you (or anyone else reading this in the future) won't need to ask again, the guiding principle is, "which would produce legal PHP code, with or without quotes?" You are assigning a string value to a variable, so the string would have to be in quotes. In this case, ' or " doesn't matter, but if you have escape sequences \x or dollar signs $ within the string, it would matter (they're handled differently).

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...