Home » Projects » Mambo CMS » SVN » Browse repository
Diff of /mambo/branches/4.5.3h/index.php
Parent Directory
|
Revision Log
|
Patch
| 59 |
$database->debug( $mosConfig_debug ); |
$database->debug( $mosConfig_debug ); |
| 60 |
$acl = new gacl_api(); |
$acl = new gacl_api(); |
| 61 |
|
|
| 62 |
|
//--- Start Nok Kaew Patch |
| 63 |
|
if (file_exists( 'components/com_nokkaew/nokkaew.php' )) { |
| 64 |
|
$mosConfig_nok_content='1'; // can also go into the configuration - but this might be overwritten! |
| 65 |
|
require_once( "administrator/components/com_nokkaew/nokkaew.class.php"); |
| 66 |
|
require_once( "components/com_nokkaew/classes/nokkaew.class.php"); |
| 67 |
|
} |
| 68 |
|
|
| 69 |
|
if( $mosConfig_nok_content ) { |
| 70 |
|
$database = new mlDatabase( $mosConfig_host, $mosConfig_user, $mosConfig_password, $mosConfig_db, $mosConfig_dbprefix ); |
| 71 |
|
} else { |
| 72 |
|
$database = new database( $mosConfig_host, $mosConfig_user, $mosConfig_password, $mosConfig_db, $mosConfig_dbprefix ); |
| 73 |
|
} |
| 74 |
|
if ($mosConfig_nok_content) { |
| 75 |
|
$mosConfig_defaultLang = $mosConfig_lang; // Save the default language of the site |
| 76 |
|
$iso_client_lang = NokKaew::discoverLanguage( $database ); |
| 77 |
|
$_NOKKAEW_MANAGER = new NokKaewManager(); |
| 78 |
|
} |
| 79 |
|
|
| 80 |
|
//--- End Nok Kaew Patch |
| 81 |
if ($option == '') { |
if ($option == '') { |
| 82 |
if ($Itemid) { |
if ($Itemid) { |
| 83 |
$query = "SELECT id, link" |
$query = "SELECT id, link" |
|
|
Legend:
| Removed from v.660 |
|
| changed lines |
| |
Added in v.661 |
|
|

Web Hosting provided by Network
Redux.