Mercurial > defr > drupal > core
comparison install.php @ 13:8b6c45761e01 6.6
Drupal 6.6
| author | Franck Deroche <webmaster@defr.org> |
|---|---|
| date | Tue, 23 Dec 2008 14:32:33 +0100 |
| parents | 589fb7c02327 |
| children |
comparison
equal
deleted
inserted
replaced
| 12:4ca9f57cc4d4 | 13:8b6c45761e01 |
|---|---|
| 1 <?php | 1 <?php |
| 2 // $Id: install.php,v 1.113.2.6 2008/09/17 08:47:04 goba Exp $ | 2 // $Id: install.php,v 1.113.2.7 2008/10/22 16:31:37 goba Exp $ |
| 3 | 3 |
| 4 require_once './includes/install.inc'; | 4 require_once './includes/install.inc'; |
| 5 | 5 |
| 6 define('MAINTENANCE_MODE', 'install'); | 6 define('MAINTENANCE_MODE', 'install'); |
| 7 | 7 |
| 836 // loaded by drupal_bootstrap in subsequent batch requests, and other | 836 // loaded by drupal_bootstrap in subsequent batch requests, and other |
| 837 // modules possibly depending on it can safely perform their installation | 837 // modules possibly depending on it can safely perform their installation |
| 838 // steps. | 838 // steps. |
| 839 module_enable(array($module)); | 839 module_enable(array($module)); |
| 840 $context['results'][] = $module; | 840 $context['results'][] = $module; |
| 841 $context['message'] = 'Installed '. $module_name .' module.'; | 841 $context['message'] = st('Installed %module module.', array('%module' => $module_name)); |
| 842 } | 842 } |
| 843 | 843 |
| 844 /** | 844 /** |
| 845 * Finished callback for the modules install batch. | 845 * Finished callback for the modules install batch. |
| 846 * | 846 * |
