Zen Cart Logo
Forums / General Questions / init system - when do the files in admin/includes/modules/products load?

init system - when do the files in admin/includes/modules/products load?

Views: 568

Results 1 to 2 of 2
14 Apr 2012, 6:15 PM
#1
davowave avatar

davowave

New Zenner

Join Date:
Mar 2009
Posts:
90
Plugin Contributions:
0

init system - when do the files in admin/includes/modules/products load?

Hi there,

I know there is documentation all about the init system and part of it says that when EG main_page=index the files in includes/modules/pages/whatever open.

I've been going through the admin version of the initsystem trying to figure out exactly when and where the files in EG admin/includes/modules/products and I'm buggered if I can find it.

I hate to ask, and I'm sure it's just something I've missed but assuming you've gone to https://www.mysite.com/admin/products.php do the files in admin/includes/modules/products just get loaded automatically and if so where?!?

Thanks :)

14 Apr 2012, 6:57 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: init system - when do the files in admin/includes/modules/products load?

The /admin/product.php file loads files from the /admin/includes/modules/ folder and subfolders only when it needs them, and only based on the product type applicable to the product being accessed. It has no relationship to the init system.