summaryrefslogtreecommitdiff
path: root/modules/php
diff options
context:
space:
mode:
authorDavid Rothstein <drothstein@gmail.com>2013-12-25 15:55:33 -0500
committerDavid Rothstein <drothstein@gmail.com>2013-12-25 15:55:33 -0500
commit59b82ed9fae50d516c023369a9ffca94bccc9b6a (patch)
tree8a581afe16e305060ab44de0b5ab888bb06a7ddd /modules/php
parent76bc39ec84a1f4fcd9542c30707af91b5ca2fe93 (diff)
downloadbrdo-59b82ed9fae50d516c023369a9ffca94bccc9b6a.tar.gz
brdo-59b82ed9fae50d516c023369a9ffca94bccc9b6a.tar.bz2
Issue #2064667 by kboopathi | Charles Belov: PHP Filter has a broken link to "Example PHP snippets" within help.
Diffstat (limited to 'modules/php')
-rw-r--r--modules/php/php.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/php/php.module b/modules/php/php.module
index da9d01db4..67616f6be 100644
--- a/modules/php/php.module
+++ b/modules/php/php.module
@@ -17,7 +17,7 @@ function php_help($path, $arg) {
$output .= '<h3>' . t('Uses') . '</h3>';
$output .= '<dl>';
$output .= '<dt>' . t('Enabling execution of PHP in text fields') . '</dt>';
- $output .= '<dd>' . t('The PHP filter module allows users with the proper permissions to include custom PHP code that will get executed when pages of your site are processed. While this is a powerful and flexible feature if used by a trusted user with PHP experience, it is a significant and dangerous security risk in the hands of a malicious or inexperienced user. Even a trusted user may accidentally compromise the site by entering malformed or incorrect PHP code. Only the most trusted users should be granted permission to use the PHP filter, and all PHP code added through the PHP filter should be carefully examined before use. <a href="@php-snippets">Example PHP snippets</a> can be found on Drupal.org.', array('@php-snippets' => url('http://http://drupal.org/documentation/customization/php-snippets'))) . '</dd>';
+ $output .= '<dd>' . t('The PHP filter module allows users with the proper permissions to include custom PHP code that will get executed when pages of your site are processed. While this is a powerful and flexible feature if used by a trusted user with PHP experience, it is a significant and dangerous security risk in the hands of a malicious or inexperienced user. Even a trusted user may accidentally compromise the site by entering malformed or incorrect PHP code. Only the most trusted users should be granted permission to use the PHP filter, and all PHP code added through the PHP filter should be carefully examined before use. <a href="@php-snippets">Example PHP snippets</a> can be found on Drupal.org.', array('@php-snippets' => url('http://drupal.org/documentation/customization/php-snippets'))) . '</dd>';
$output .= '</dl>';
return $output;
}