Documentation TYPO3 par Ameos

conf.php

00001 <?php
00002 // Setting specific configuration for the third part module:
00003 $MCONF['phpMyAdminScript'] = '';        // or 'main.php','db_details.php'       // Enter the script to load, if any
00004 $MCONF['phpMyAdminSubDir']='';
00005 if (!isset($MCONF['extModInclude']))    {$MCONF['extModInclude']=0;}
00006 
00007 ## UN-COMMENT THIS LINE to activate phpMyAdmin! Please make sure the path is correct!
00008 ## (LOWERCASE!!)
00009 $MCONF['phpMyAdminSubDir'] = 'phpMyAdmin-2.6.4-pl3/';                   // Enter the subdirectory of the scripts (LOWERCASE!!)
00010 
00011 $script_name = (php_sapi_name()=='cgi'||php_sapi_name()=='cgi-fcgi')&&(isset($_SERVER['ORIG_PATH_INFO'])?$_SERVER['ORIG_PATH_INFO']:$_SERVER['PATH_INFO']) ? (isset($_SERVER['ORIG_PATH_INFO'])?$_SERVER['ORIG_PATH_INFO']:$_SERVER['PATH_INFO']) : (isset($_SERVER['ORIG_SCRIPT_NAME'])?$_SERVER['ORIG_SCRIPT_NAME']:$_SERVER['SCRIPT_NAME']);
00012 if (strstr($script_name, 'phpmyadmin.css.php')) {
00013         $MCONF['phpMyAdminSubDir'] .= 'css/';
00014 }
00015 
00016 
00017 
00018 
00019 
00020 // 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!
00021 define('TYPO3_MOD_PATH', 'ext/phpmyadmin/modsub/'.($MCONF['extModInclude']?$MCONF['phpMyAdminSubDir']:''));
00022 $BACK_PATH='../../../'.($MCONF['extModInclude']?'../':'');
00023 
00024 $MLANG['default']['tabs_images']['tab'] = 'thirdparty_db.gif';
00025 $MLANG['default']['ll_ref']='LLL:EXT:phpmyadmin/modsub/locallang_mod.php';
00026 
00027 $MCONF['script']='index.php';
00028 $MCONF['access']='admin';
00029 $MCONF['name']='tools_txphpmyadmin';
00030 ?>


Généré par L'expert TYPO3 avec  doxygen 1.4.6