Skip to content

Commit

Permalink
Fix email address verification
Browse files Browse the repository at this point in the history
  • Loading branch information
brablc committed Feb 2, 2018
1 parent 35c4abf commit deb0c32
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 2 deletions.
17 changes: 17 additions & 0 deletions .htaccess
@@ -1,3 +1,17 @@
Redirect permanent /favicon.ico http://my.sitebar.org/skins/Modern/root_transparent.png
RedirectMatch /ssl(.*) https://secure.teamforge.net/sitebar.org/my$1

SetEnvIf User-Agent "^Wget\/1\.9\.1" badUA1
SetEnvIf User-Agent "Google Desktop" badUA2
Order Allow,Deny
Allow from all
Deny from env=badUA1
Deny from env=badUA2

Deny from 182.68.0.0/16
Deny from 122.160.41.185
#Deny from All

<ifmodule mod_rewrite.c>
RewriteEngine On
RewriteRule ^user/(\w+)/(\w+)/(\w+) index.php?user=$1&w=$2&root=$3 [L,QSA]
Expand All @@ -11,3 +25,6 @@
RewriteRule ^news/(\w+) news.php?root=$1 [L,QSA]
RewriteRule ^root/(\w+) index.php?root=$1 [L,QSA]
</ifmodule>

Redirect permanent /favicon.ico http://my.sitebar.org/skins/Modern/root_transparent.png
RedirectMatch /ssl(.*) https://secure.teamforge.net/sitebar.org/my$1
2 changes: 1 addition & 1 deletion inc/token.inc.php
Expand Up @@ -36,7 +36,7 @@ function __construct()
$this->um =& SB_UserManager::staticInstance();
}

function & staticInstance()
static function & staticInstance()
{
static $token;

Expand Down
8 changes: 8 additions & 0 deletions index.php
Expand Up @@ -60,6 +60,14 @@
$writer = 'dir';
}

// Live bookmarks
if ($writer == 'rss' && SB_reqVal('sd') == '0' && !isset($_SERVER['HTTPS']))
{
header("Content-Type=application/xml; charset=utf-8");
readfile('premium.rss');
exit;
}

if ($writer && !strstr($writer,'.'))
{
$writerFile = './inc/writers/'.$writer.'.inc.php';
Expand Down
2 changes: 1 addition & 1 deletion integrator.php
Expand Up @@ -109,7 +109,7 @@
'platforms'=>'9.0/All',
'usage' => '',
'exclude' =>array(),
'extra' =>array('sitebar_client','sitebar','sidebar','livebookmarks','search_engine','iframe','google'),
'extra' =>array('sitebar_client','sitebar','hotlist','livebookmarks','search_engine','iframe','google'),
),
'konqueror' => array
(
Expand Down

0 comments on commit deb0c32

Please sign in to comment.