Einzelnen Beitrag anzeigen
  #5  
Alt 25.04.07, 12:01
Nik999 Nik999 ist offline
Forum Zuschauer
 
Registriert seit: 10.04.07
Beiträge: 8

hi,

hmm hab mir mal die Datei angeschaut
Da ich noch Newbie bin, muss ich zuerst mal schauen und entziffern was das alles sthet
ich mach mal nen copy, vielleicht fällt einem sofort was auf ..

<?php
// Setting specific configuration for the third part module:
$MCONF['phpMyAdminScript'] = ''; // or 'main.php','db_details.php' // Enter the script to load, if any
$MCONF['phpMyAdminSubDir']='';
if (!isset($MCONF['extModInclude'])) {$MCONF['extModInclude']=0;}

## UN-COMMENT THIS LINE to activate phpMyAdmin! Please make sure the path is correct!
## (LOWERCASE!!)
$MCONF['phpMyAdminSubDir'] = 'phpmyadmin-2.6.2/'; // Enter the subdirectory of the scripts (LOWERCASE!!)
$script_name = (php_sapi_name()=='cgi'||php_sapi_name()=='cgi-fcgi')&&($_SERVER['ORIG_PATH_INFO']?$_SERVER['ORIG_PATH_INFO']:$_SERVER['PATH_INFO']) ? ($_SERVER['ORIG_PATH_INFO']?$_SERVER['ORIG_PATH_INFO']:$_SERVER['PATH_INFO']) : ($_SERVER['ORIG_SCRIPT_NAME']?$_SERVER['ORIG_SCRIPT_NAME']:$_SERVER['SCRIPT_NAME']);
if (strstr($script_name, 'phpmyadmin.css.php')) {
$MCONF['phpMyAdminSubDir'] .= 'css/';
}





// Almost regular configuration of the module. Only if $MCONF['extModInclude'] is set, then phpMyAdminSubDir is prepended to the TYPO3_MOD_PATH and '../' to BACK_PATH. If this is not correct, init.php will exit!
define('TYPO3_MOD_PATH', 'ext/phpmyadmin/modsub/'.($MCONF['extModInclude']?$MCONF['phpMyAdminSubDir']:''));
$BACK_PATH='../../../'.($MCONF['extModInclude']?'../':'');

$MLANG['default']['tabs_images']['tab'] = 'thirdparty_db.gif';
$MLANG['default']['ll_ref']='LLL:EXT:phpmyadmin/modsub/locallang_mod.php';

$MCONF['script']='index.php';
$MCONF['access']='admin';
$MCONF['name']='tools_txphpmyadmin';
?>

Gruss
Mit Zitat antworten