[ Index ]
 

Code source de phpMyAdmin 2.10.3

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/libraries/dbg/ -> setup.php (source)

   1  <?php
   2  /* $Id: setup.php 7699 2005-11-03 12:22:08Z cybot_tm $ */
   3  // vim: expandtab sw=4 ts=4 sts=4:
   4  /**
   5   * checks for DBG extension and trys to load if not loaded
   6   * 
   7   * allways use $GLOBALS here, as this script is included by footer.inc.hp
   8   * which can also be included from inside a function
   9   */
  10  if ( $GLOBALS['cfg']['DBG']['enable'] ) {
  11      /**
  12       * Loads the DBG extension if needed
  13       */
  14      if ( ! @extension_loaded('dbg') && ! PMA_dl('dbg') ) {
  15          echo '<div class="warning">'
  16              .sprintf( $GLOBALS['strCantLoad'], 'DBG' )
  17              .' <a href="./Documentation.html#faqdbg" target="documentation">' 
  18              .$GLOBALS['strDocu'] . '</a>'
  19              .'</div>';
  20      } else {
  21          $GLOBALS['DBG'] = true;
  22      }
  23  }
  24  ?>


Généré le : Mon Nov 26 15:18:20 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics