diff options
Diffstat (limited to 'www/drupal7/files')
-rw-r--r-- | www/drupal7/files/patch-modules-taxonomy-taxonomy.module | 11 | ||||
-rw-r--r-- | www/drupal7/files/pkg-message.in | 17 |
2 files changed, 21 insertions, 7 deletions
diff --git a/www/drupal7/files/patch-modules-taxonomy-taxonomy.module b/www/drupal7/files/patch-modules-taxonomy-taxonomy.module new file mode 100644 index 000000000000..eda2eb9da1b7 --- /dev/null +++ b/www/drupal7/files/patch-modules-taxonomy-taxonomy.module @@ -0,0 +1,11 @@ +--- modules/taxonomy/taxonomy.module~ Sat Mar 17 00:26:28 2007 ++++ modules/taxonomy/taxonomy.module Sat Mar 17 00:26:28 2007 +@@ -619,7 +619,7 @@ + foreach ($vocabularies as $vid => $vocabulary) { + if ($vocabulary->tags && !$free_tags) { continue; } + $tree = taxonomy_get_tree($vid); +- if ($tree && (count($tree) > 1)) { ++ if ($tree && (count($tree) >= 1)) { + $options[$vocabulary->name] = array(); + foreach ($tree as $term) { + $options[$vocabulary->name][$term->tid] = str_repeat('-', $term->depth) . $term->name; diff --git a/www/drupal7/files/pkg-message.in b/www/drupal7/files/pkg-message.in index d64eb1b7bc7f..db838b73046f 100644 --- a/www/drupal7/files/pkg-message.in +++ b/www/drupal7/files/pkg-message.in @@ -4,24 +4,27 @@ You now need to create the DB where Drupal is going to live createdb -U pgsql -W drupal createuser -U pgsql -P -e drupal createlang -U pgsql -W plpgsql drupal - psql -U drupal drupal < %%DRUPAL_DIR%%/database/database.pgsql MySQL:: mysqladmin -u dba_user -p create drupal mysql -u dba_user -p GRANT ALL PRIVILEGES ON drupal.* TO drupal@localhost IDENTIFIED BY 'passwd'; - mysql -u drupal -p drupal < %%DRUPAL_DIR%%/database/database.mysql" -Then edit the %%DRUPAL_DIR%%/sites/default/settings.php -to your needs. Once you have done that you must add appropriate -configuration directives to your apache configuration file -(%%PREFIX%%/etc/apache(2)/httpd.conf). A typical configuration would be: +You also need to add appropriate configuration directives to your apache +configuration file (%%PREFIX%%/etc/apache(2)/httpd.conf). - Alias /drupal "%%DRUPAL_DIR%%" +A typical configuration might read: + Alias /drupal "%%DRUPAL_DIR%%" <Directory "%%DRUPAL_DIR%%"> Options Indexes FollowSymlinks MultiViews AllowOverride None Order allow,deny Allow from all </Directory> + +Please see http://drupal.org/cron for important information on setting up +periodic maintenance tasks in Drupal. + +For important information about upgrading from Drupal version 4, please see: +%%DRUPAL_DIR%%/doc/UPGRADE.txt |