Diff of /mambo/branches/4.6/includes/frontend.php
Parent Directory
|
Revision Log
|
Patch
| revision 688, Fri Sep 8 18:21:44 2006 UTC | revision 689, Mon Sep 11 01:08:23 2006 UTC | |
|---|---|---|
| # | Line 17 | Line 17 |
| 17 | $handler =& mosComponentHandler::getInstance(); | $handler =& mosComponentHandler::getInstance(); |
| 18 | $handler->mosMainBody(); | $handler->mosMainBody(); |
| 19 | } | } |
| 20 | /** | |
| 21 | * Utility functions and classes | |
| 22 | */ | |
| 23 | function mosLoadComponent( $name ) { | |
| 24 | // set up some global variables for use by the frontend component | |
| 25 | global $mainframe, $database; | |
| 26 | include( $mainframe->getCfg( 'absolute_path' )."/components/com_$name/$name.php" ); | |
| 27 | } | |
| 28 | /** | /** |
| 29 | * @param string THe template position | * @param string THe template position |
| 30 | */ | */ |
|
||||||||
| ViewVC Help | |
| Powered by ViewVC 1.0.0 |
Web Hosting provided by Network Redux.

