Diff of /mambo/branches/4.6/index.php
Parent Directory
|
Revision Log
|
Patch
| revision 112, Fri Jan 6 05:54:35 2006 UTC | revision 116, Sat Jan 7 19:49:26 2006 UTC | |
|---|---|---|
| # | Line 21 | Line 21 |
| 21 | ||
| 22 | /** Set flag that this is a parent file */ | /** Set flag that this is a parent file */ |
| 23 | define( '_VALID_MOS', 1 ); | define( '_VALID_MOS', 1 ); |
| 24 | session_start(); | |
| 25 | // checks for configuration file, if none found loads installation page | // checks for configuration file, if none found loads installation page |
| 26 | if ( !file_exists( 'configuration.php' ) || filesize( 'configuration.php' ) < 10 ) { | if ( !file_exists( 'configuration.php' ) || filesize( 'configuration.php' ) < 10 ) { |
| 27 | header( 'Location: installation/index.php' ); | header( 'Location: installation/index.php' ); |
| # | Line 128 | Line 128 |
| 128 | } | } |
| 129 | ||
| 130 | /** do we have a valid Itemid yet?? */ | /** do we have a valid Itemid yet?? */ |
| 131 | if ( $Itemid === 0 ) { | if ( $Itemid === null ) { |
| 132 | /** Nope, just use the homepage then. */ | /** Nope, just use the homepage then. */ |
| 133 | $query = "SELECT id" | $query = "SELECT id" |
| 134 | . "\n FROM #__menu" | . "\n FROM #__menu" |
|
||||||||
| ViewVC Help | |
| Powered by ViewVC 1.0.0 |
Web Hosting provided by Network Redux.

