Inspectadate
Addressing
Joe Adams
Self-employed Contractor
Not known
Orlando, FL 32780
United States
Site Information
Additional Site Information
My hosting company is dreamhost.com.
User name is - recordscoach@yahoo.com
password: 3letzro112day
User name is Joe Adams
password is bRadee4!t
+++ b/modules/system/system.api.php @@ 747,25 +747,7 @@ function hook_js_alter(&$javascript) { // Swap out jQuery to use an updated version of the library. $javascript['misc/jquery.js']['data'] = drupal_get_path('module', 'jquery_update') . '/jquery.js'; }/** * Perform necessary alterations to the concatenated JavaScript before it is * presented on the page. * * @param $contents * A string of the concatenated JavaScript. * * @see drupal_build_js_cache() */ function hook_js_cache_alter(&$contents) { $header = <<<HEADER /** * Powered by Pressflow * http://pressflow.org */ HEADER; $contents = $header . "\n" . $contents; }
+++ b/modules/system/system.install @@ 247,28 +247,17 @@ function system_requirements($phase) { // If permissions hardening is disabled, then only show a warning for a // writable file, as a reminder, rather than an error. $file_protection_severity = REQUIREMENT_WARNING; }elseif (defined('PANTHEON_ENVIRONMENT')) { $file_protection_severity = REQUIREMENT_WARNING; } else { // $error_value = t('Not protected'); // In normal operation, writable files or directories are an error. $file_protection_severity = REQUIREMENT_ERROR; if (!drupal_verify_install_file(conf_path(), FILE_NOT_WRITABLE, 'dir')) { $conf_errors[] = $t('The directory %file is not protected from modifications and poses a security risk. You must change the directory\'s permissions to be nonwritable. ', array('%file' => conf_path())); } } if (defined('PANTHEON_ENVIRONMENT')) { // Pantheon logic //$error_value = t('Not present'); if (!drupal_verify_install_file(conf_path() . '/settings.php', FILE_EXIST, 'file', !$skip_permissions_hardening)) { $conf_errors[] = $t('The file %file does not exist. Please add one to your site codebase by copying default.settings.php to settings.php. This is only necessary for some operations, such as using <a href="@url">Drush</a>.', array('%file' => conf_path() . '/settings.php', '@url' => 'https://www.drush.org')); } } else { // Drupal core logic if (!drupal_verify_install_file(conf_path() . '/settings.php', FILE_EXIST | FILE_READABLE | FILE_NOT_WRITABLE, 'file', !$skip_permissions_hardening)) { $conf_errors[] = $t('The file %file is not protected from modifications and poses a security risk. You must change the file\'s permissions to be nonwritable.', array('%file' => conf_path() . '/settings.php')); }
}
+++ b/includes/bootstrap.inc @@ 764,30 +764,7 @@ function drupal_settings_initialize() { include_once DRUPAL_ROOT . '/' . conf_path() . '/settings.php'; } $is_https = drupal_is_https();// Load environmental config, if present. if (isset($_SERVER['PRESSFLOW_SETTINGS'])) { $pressflow_settings = json_decode($_SERVER['PRESSFLOW_SETTINGS'], TRUE); foreach ($pressflow_settings as $key => $value) { // One level of depth should be enough for $conf and $database. if ($key == 'conf') { foreach($value as $conf_key => $conf_value) { $conf[$conf_key] = $conf_value; } } elseif ($key == 'databases') { // Protect default configuration but allow the specification of // additional databases. Also, allows fun things with 'prefix' if they // want to try multisite. if (!isset($databases) || !is_array($databases)) { $databases = array(); } $databases = array_replace_recursive($databases, $value); } else { $$key = $value; } } }
if (isset($base_url)) {