Changeset 629
- Timestamp:
- 02/22/06 01:26:26 (7 years ago)
- Files:
-
- 1 deleted
- 4 edited
-
debian/postinst (modified) (1 diff)
-
debian/rules (modified) (1 diff)
-
install/etc/alternc/phpmyadmin.inc.php (modified) (3 diffs)
-
install/scripts/alternc.install (modified) (1 diff)
-
install/scripts/etc/phpmyadmin (deleted)
Legend:
- Unmodified
- Added
- Removed
-
debian/postinst
r601 r629 119 119 /usr/share/alternc/install/upgrade_check.sh $2 120 120 121 echo "running alternc.install"122 121 # important: postinst gele sans ca 123 122 db_stop 123 124 echo "config phpmyadmin" 125 include_str='include_once("/etc/alternc/phpmyadmin.inc.php")' 126 pma_config=/etc/phpmyadmin/config.inc.php 127 if ! grep -e "$include_str" $pma_config > /dev/null 2>&1; then 128 echo "<?php $include_str ?>" >> $pma_config 129 fi 130 echo "running alternc.install" 124 131 alternc.install 125 132 -
debian/rules
r628 r629 53 53 install -o root -g www-data -m0750 -d debian/alternc/etc/alternc 54 54 sed -e "s/@@VERSION@@/$(VERSION)/g" >debian/alternc/etc/alternc/alternc.conf < install/etc/alternc/alternc.conf 55 install -o root -g root -m644 install/etc/alternc/phpmyadmin.inc.php debian/alternc/etc/alternc 55 56 chown www-data debian/alternc/etc/alternc/alternc.conf 56 57 chmod 750 debian/alternc/etc/alternc/alternc.conf -
install/etc/alternc/phpmyadmin.inc.php
r627 r629 1 1 <?php 2 2 3 /** 3 * Debian local configuration file4 * Special phpmyadmin configuration for AlternC 4 5 * 5 * This file overrides global configuration file 6 * We setup two new servers: 7 * 8 * i: a server with a hardcoded username/password corresponding to the 9 * one setup in the AlternC panels 10 * 11 * i+1: a regular server with a cookie-based auth 12 * 13 * the content of this file will be included in the 14 * /etc/phpmyadmin/config.inc.php 6 15 */ 7 16 8 9 /**10 * Server(s) configuration11 */12 $i = 0;13 // The $cfg['Servers'] array starts with $cfg['Servers'][1]. Do not use $cfg['Servers'][0].14 // You can disable a server config entry by setting host to ''.15 17 $i++; 16 18 17 // Uncomment to override the default configuration18 19 $cfg['Servers'][$i]['host'] = 'localhost'; // MySQL hostname or IP address 19 20 $cfg['Servers'][$i]['port'] = ''; // MySQL port - leave blank for default port … … 34 35 $cfg['Servers'][$i]['password'] = $_COOKIE["REMOTE_PASSWORD"]; ; // MySQL password (only needed 35 36 // // with 'config' auth_type) 36 $cfg['Servers'][$i]['only_db'] = ''; // If set to a db-name, only37 // // this db is displayed in left frame38 // // It may also be an array of db-names, where sorting order is relevant.39 $cfg['Servers'][$i]['verbose'] = ''; // Verbose name for this host - leave blank to show the hostname40 //41 //$cfg['Servers'][$i]['pmadb'] = 'phpmyadmin';// Database used for Relation, Bookmark and PDF Features42 // // (see scripts/create_tables.sql)43 // // - leave blank for no support44 // // DEFAULT: 'phpmyadmin'45 //$cfg['Servers'][$i]['bookmarktable'] = 'pma_bookmark';// Bookmark table46 // // - leave blank for no bookmark support47 // // DEFAULT: 'pma_bookmark'48 //$cfg['Servers'][$i]['relation'] = 'pma_relation';// table to describe the relation between links (see doc)49 // // - leave blank for no relation-links support50 // // DEFAULT: 'pma_relation'51 //$cfg['Servers'][$i]['table_info'] = 'pma_table_info';// table to describe the display fields52 // // - leave blank for no display fields support53 // // DEFAULT: 'pma_table_info'54 //$cfg['Servers'][$i]['table_coords'] = 'pma_table_coords';// table to describe the tables position for the PDF schema55 // // - leave blank for no PDF schema support56 // // DEFAULT: 'pma_table_coords'57 //$cfg['Servers'][$i]['pdf_pages'] = 'pma_pdf_pages';// table to describe pages of relationpdf58 // // - leave blank if you don't want to use this59 // // DEFAULT: 'pma_pdf_pages'60 //$cfg['Servers'][$i]['column_info'] = 'pma_column_info';// table to store column information61 // // - leave blank for no column comments/mime types62 // // DEFAULT: 'pma_column_info'63 //$cfg['Servers'][$i]['history'] = 'pma_history';// table to store SQL history64 // // - leave blank for no SQL query history65 // // DEFAULT: 'pma_history'66 //$cfg['Servers'][$i]['verbose_check'] = TRUE; // set to FALSE if you know that your pma_* tables67 // // are up to date. This prevents compatibility68 // // checks and thereby increases performance.69 //$cfg['Servers'][$i]['AllowRoot'] = TRUE; // whether to allow root login70 //$cfg['Servers'][$i]['AllowDeny']['order'] // Host authentication order, leave blank to not use71 // = '';72 //$cfg['Servers'][$i]['AllowDeny']['rules'] // Host authentication rules, leave blank for defaults73 // = array();74 75 37 76 38 $i++; … … 94 56 $cfg['Servers'][$i]['password'] = ''; // MySQL password (only needed 95 57 // // with 'config' auth_type) 96 $cfg['Servers'][$i]['only_db'] = ''; // If set to a db-name, only97 // // this db is displayed in left frame98 // // It may also be an array of db-names, where sorting order is relevant.99 $cfg['Servers'][$i]['verbose'] = ''; // Verbose name for this host - leave blank to show the hostname100 101 102 103 58 104 59 ?> -
install/scripts/alternc.install
r602 r629 148 148 %conf_vars = ( 149 149 150 # PHPMYAdmin, Config file,151 "etc/phpmyadmin/config.inc.php" => "[PHPMyAdmin] Config File",152 153 150 # Scripts-Shells generaux : 154 151 "local.php" => "[General] Fichier de configuration general du Bureau virtuel",
Note: See TracChangeset
for help on using the changeset viewer.
