Changeset - fd97f1f11524
[Not reviewed]
default
0 2 0
Nathan Brink (binki) - 14 years ago 2011-10-18 19:48:39
ohnobinki@ohnopublishing.net
Fix PHP warnings in feedback-submit.php.
2 files changed with 2 insertions and 1 deletions:
0 comments (0 inline, 0 general)
feedback-submit.php
Show inline comments
 
@@ -57,7 +57,7 @@ if (!empty($_SESSION['saved']))
 

	
 
$reject = FALSE;
 

	
 
if (eregi('http:', $feedback)) { 
 
if (preg_match('/https?:/i', $feedback)) { 
 
  echo '<p>Please do not include URLs in your submission! Please click "back" and try again.</p>';
 
  $reject = TRUE;
 
}
inc/class.page.php
Show inline comments
 
@@ -48,6 +48,7 @@ set_include_path(get_include_path() . PA
 
$admin_enable_purge = FALSE;
 
$qtips_always = FALSE;
 
$input_warning_banner = FALSE;
 
$feedback_disk_log = FALSE;
 

	
 
$config_inc = dirname(__FILE__) . DIRECTORY_SEPARATOR . 'config.inc';
 
if (file_exists($config_inc)) {
0 comments (0 inline, 0 general)