diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-07-30 01:28:00 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-07-30 01:28:00 +0000 |
commit | 382d8f26140ae08f94f2fa0349c07c62c2e28433 (patch) | |
tree | 0c9ae4221b7192cb80b0d83a66d030c28c44cfc6 /scripts/dump-database-d6.sh | |
parent | 7d3e58292fbfe78cd87c382339809336bf1e4536 (diff) | |
download | brdo-382d8f26140ae08f94f2fa0349c07c62c2e28433.tar.gz brdo-382d8f26140ae08f94f2fa0349c07c62c2e28433.tar.bz2 |
- Patch #848368 by Stevel, Damien Tournoud: test updating for poll.module.
Diffstat (limited to 'scripts/dump-database-d6.sh')
-rw-r--r-- | scripts/dump-database-d6.sh | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/scripts/dump-database-d6.sh b/scripts/dump-database-d6.sh index 7bcca95c1..3eb5d48a2 100644 --- a/scripts/dump-database-d6.sh +++ b/scripts/dump-database-d6.sh @@ -32,7 +32,24 @@ drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL); include_once dirname(__FILE__) . '/../includes/utility.inc'; // Output the PHP header. -$output = "<?php\n\n"; +$output = <<<ENDOFHEADER +<?php +// \$Id\$ + +/** + * @file + * Filled installation of Drupal 6.17, for test purposes. + * + * This file was generated by the dump-database-d6.sh tool, from an + * installation of Drupal 6, filled with data using the generate-d6-content.sh + * tool. It has the following modules installed: + +ENDOFHEADER; + +foreach (module_list() as $module) { + $output .= " * - $module\n"; +} +$output .= " */\n\n"; // Get the current schema, order it by table name. $schema = drupal_get_schema(); |