Actually, auth.php is included in many other php files, such as product.php (for displaying product details), so that when a file such as product.php is called, it will also display minicart on the same page.
Let's use product.php as another example. The following two lines can be found in file product.php:
require "./auth.php";
and
func_display("customer/home.tpl",smarty);
So, whenever a product details page is shown, minicart will appear also.
I'm sure you can find other php files/examples which include
auth.php and display through
home.tpl, and therefore minicart will show up along with output from
home.tpl.
Happy code tracking!
Guosheng
