Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Map of include/require within osCommerce


Guest

Recommended Posts

Hello, is there some sort of a map of all the include/require within osCommerce ??... Kind of like a folder structure, except all the folders would be files too.

 

Thanks a lot.

Link to comment
Share on other sites

Hello, is there some sort of a map of all the include/require within osCommerce ??... Kind of like a folder structure, except all the folders would be files too.

 

Thanks a lot.

 

 

Probably not, but you could build one fairly easily by searching within files for:

 

include

include_once

require

require_once

Contributions

 

Discount Coupon Codes

Donations

Link to comment
Share on other sites

Probably not, but you could build one fairly easily by searching within files for:

 

include

include_once

require

require_once

 

 

There has to be a tool out there that does this for you, considering its obvious usefulness... something graphical.

Link to comment
Share on other sites

There has to be a tool out there that does this for you, considering its obvious usefulness... something graphical.

 

One of the more expensive IDEs may do it, like Zend or PHPEd. I think you can download trial versions of both so you can see if they'll do anything like that. Otherwise, try poking around the PHP mailing list archives to see if someone might have done something like this:

 

http://marc.theaimsgroup.com/?l=php-general

 

Or checkout some of the sites like phpclasses:

 

http://www.phpclasses.org

 

Or see if any of the auto documenters like PHPDoc can do anything like this.

 

The problem you may not be considering is that includes can be conditionally added. How is a reporter supposed to handle this situation:

 

if (PHP_VERSION >= '4.0.4') {
	ob_start('ob_gzhandler');
  } else {
	include(DIR_WS_FUNCTIONS . 'gzip_compression.php');
	ob_start();
	ob_implicit_flush();
  }

 

or this:

 

// include the language translations
 require(DIR_WS_LANGUAGES . $language . '.php');

Contributions

 

Discount Coupon Codes

Donations

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...