? 613794.patch
? patch.patch
? sites/all/files
? sites/all/modules/admin_menu
? sites/all/modules/devel
? sites/all/themes/bartik
? sites/default/files
? sites/default/private
? sites/default/settings.php
Index: .htaccess
===================================================================
RCS file: /cvs/drupal/drupal/.htaccess,v
retrieving revision 1.104
diff -u -r1.104 .htaccess
--- .htaccess	16 Aug 2009 12:10:36 -0000	1.104
+++ .htaccess	25 Oct 2009 01:58:02 -0000
@@ -96,3 +96,4 @@
 </IfModule>
 
 # $Id: .htaccess,v 1.104 2009/08/16 12:10:36 dries Exp $
+AddHandler php5-script .php
Index: profiles/default/default.install
===================================================================
RCS file: /cvs/drupal/drupal/profiles/default/default.install,v
retrieving revision 1.16
diff -u -r1.16 default.install
--- profiles/default/default.install	20 Oct 2009 17:33:43 -0000	1.16
+++ profiles/default/default.install	25 Oct 2009 01:58:03 -0000
@@ -208,7 +208,7 @@
     'description' => $description,
     'machine_name' => 'tags',
     'help' => $help,
-    'weight' => 0,
+    'weight' => 4,
   );
   taxonomy_vocabulary_save($vocabulary);
   $instance = array(
@@ -223,6 +223,92 @@
   );
   field_create_instance($instance);
 
+
+// Create an image field named "Image", enabled for the 'article' content type.
+
+  $field = array(
+    'field_name' => 'field_image',
+    'type' => 'image',
+    'cardinality' => 1,
+    'translatable' => TRUE,
+    'locked' => FALSE,
+    'indexes' => array( 'fid' => array('fid')),
+    'settings' => array(
+      'uri_scheme' => 'public',
+      'default_image' => FALSE,
+    ),
+    'storage' => array(
+    'type' => 'field_sql_storage',
+    'settings' => array(),
+     ),
+   );
+
+  field_create_field($field);
+
+  $instance = array(
+    'field_name' => 'field_image',
+    'object_type' => 'node',
+    'label' => 'Image',
+    'bundle' => 'article',
+    'description' => 'Upload an image to go with this article.',
+    'weight' => -1, 
+    'required' => FALSE,
+    
+    'settings' => array(
+      'file_directory' => 'field/image',
+      'file_extensions' => 'png gif jpg jpeg', 
+      'max_filesize' => '',
+      'max_resolution' => '',
+      'min_resolution' => '',
+      'alt_field' => TRUE,
+      'title_field' => '',
+    ),
+    
+    'widget' => array(
+      'type' => 'image_image',
+      'settings' => array(
+        'progress_indicator' => 'throbber',
+        'preview_image_style' => 'thumbnail',
+      ),
+    ),
+
+    'display' => array(
+      'full' => array(
+        'label' => 'hidden',
+        'type' => 'image__large',
+        'settings' => array(),
+        'weight' => -1,
+      ),
+      'teaser' => array(
+        'label' => 'hidden',
+        'type' => 'image_link_content__medium',
+        'settings' => array(),
+        'weight' => -1,
+      ),
+      'rss' => array(
+        'label' => 'hidden',
+        'type' => 'image_large',
+        'settings' => array(),
+        'weight' => -1,
+      ),
+      'search_index' => array(
+        'label' => 'hidden',
+        'type' => 'image_large',
+        'settings' => array(),
+        'weight' => -1,
+      ),
+      'search_results' => array(
+        'label' => 'hidden',
+        'type' => 'image_large',
+        'settings' => array(),
+        'weight' => -1,
+      ),
+    ),
+  );
+  field_create_instance($instance);
+  
+
+
   // Enable default permissions for system roles.
   user_role_grant_permissions(DRUPAL_ANONYMOUS_RID, array('access content', 'use text format 1'));
   user_role_grant_permissions(DRUPAL_AUTHENTICATED_RID, array('access content', 'access comments', 'post comments', 'post comments without approval', 'use text format 1'));
Index: sites/default/default.settings.php
===================================================================
RCS file: /cvs/drupal/drupal/sites/default/default.settings.php,v
retrieving revision 1.33
diff -u -r1.33 default.settings.php
--- sites/default/default.settings.php	22 Oct 2009 01:07:02 -0000	1.33
+++ sites/default/default.settings.php	25 Oct 2009 01:58:04 -0000
@@ -1,5 +1,5 @@
 <?php
-// $Id: default.settings.php,v 1.33 2009/10/22 01:07:02 dries Exp $
+// $Id: default.settings.php,v 1.31 2009/09/14 19:03:04 dries Exp $
 
 /**
  * @file
@@ -157,8 +157,7 @@
  * Access control for update.php script
  *
  * If you are updating your Drupal installation using the update.php script but
- * are not logged in using either an account with the "Administer software
- * updates" permission or the site maintenance account (the account that was
+ * are not logged in using the site maintenance account (the account that was
  * created during installation), you will need to modify the access check
  * statement below. Change the FALSE to a TRUE to disable the access check.
  * After finishing the upgrade, be sure to open this file again and change the
@@ -343,19 +342,3 @@
 # $conf['blocked_ips'] = array(
 #   'a.b.c.d',
 # );
-
-/**
- * Authorized file system operations:
- *
- * The Update manager module included with Drupal provides a mechanism for
- * site administrators to securely install missing updates for the site
- * directly through the web user interface by providing either SSH or FTP
- * credentials. This allows the site to update the new files as the user who
- * owns all the Drupal files, instead of as the user the webserver is running
- * as. However, some sites might wish to disable this functionality, and only
- * update the code directly via SSH or FTP themselves. This setting completely
- * disables all functionality related to these authorized file operations.
- *
- * Remove the leading hash signs to disable.
- */
-# $conf['allow_authorize_operations'] = FALSE;
