aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/session.php
diff options
context:
space:
mode:
authorluzpaz <luzpaz@@users.noreply.github.com>2017-08-15 15:00:12 -0400
committerMarc Alexander <admin@m-a-styles.de>2019-05-08 22:20:56 +0200
commita9a28859d4852be72ce782d079ee3183c4d54852 (patch)
tree62a8aebf2afbdd858421a70741827886425b56ee /phpBB/phpbb/session.php
parent62921c066cb66df35846fe5c9d576f4bb16f825a (diff)
downloadforums-a9a28859d4852be72ce782d079ee3183c4d54852.tar
forums-a9a28859d4852be72ce782d079ee3183c4d54852.tar.gz
forums-a9a28859d4852be72ce782d079ee3183c4d54852.tar.bz2
forums-a9a28859d4852be72ce782d079ee3183c4d54852.tar.xz
forums-a9a28859d4852be72ce782d079ee3183c4d54852.zip
[ticket/15424] Multiple typo fixes in docs & comments
Fixed typos in some docs, guidelines, some non-user-facing files. PHPBB3-15424
Diffstat (limited to 'phpBB/phpbb/session.php')
-rw-r--r--phpBB/phpbb/session.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/phpBB/phpbb/session.php b/phpBB/phpbb/session.php
index b47038e120..e5621a4ee7 100644
--- a/phpBB/phpbb/session.php
+++ b/phpBB/phpbb/session.php
@@ -250,7 +250,7 @@ class session
$ips = explode(' ', $this->forwarded_for);
foreach ($ips as $ip)
{
- // check IPv4 first, the IPv6 is hopefully only going to be used very seldomly
+ // check IPv4 first, the IPv6 is hopefully only going to be used very seldom
if (!empty($ip) && !preg_match(get_preg_expression('ipv4'), $ip) && !preg_match(get_preg_expression('ipv6'), $ip))
{
// contains invalid data, don't use the forwarded for header
@@ -478,7 +478,7 @@ class session
}
else
{
- // Added logging temporarly to help debug bugs...
+ // Added logging temporarily to help debug bugs...
if (defined('DEBUG') && $this->data['user_id'] != ANONYMOUS)
{
if ($referer_valid)
@@ -1336,7 +1336,7 @@ class session
* Only IPv4 (rbldns does not support AAAA records/IPv6 lookups)
*
* @author satmd (from the php manual)
- * @param string $mode register/post - spamcop for example is ommitted for posting
+ * @param string $mode register/post - spamcop for example is omitted for posting
* @param string|false $ip the IPv4 address to check
*
* @return false if ip is not blacklisted, else an array([checked server], [lookup])
@@ -1395,7 +1395,7 @@ class session
/**
* Check if URI is blacklisted
- * This should be called only where absolutly necessary, for example on the submitted website field
+ * This should be called only where absolutely necessary, for example on the submitted website field
* This function is not in use at the moment and is only included for testing purposes, it may not work at all!
* This means it is untested at the moment and therefore commented out
*