mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-28 14:52:24 +09:00
NOISSUE remove reference operator.
This commit is contained in:
parent
35384999c9
commit
194ce8614a
118 changed files with 859 additions and 859 deletions
|
|
@ -39,7 +39,7 @@ class spamfilterController extends spamfilter
|
|||
if($grant->manager) return new Object();
|
||||
}
|
||||
|
||||
$oFilterModel = &getModel('spamfilter');
|
||||
$oFilterModel = getModel('spamfilter');
|
||||
// Check if the IP is prohibited
|
||||
$output = $oFilterModel->isDeniedIP();
|
||||
if(!$output->toBool()) return $output;
|
||||
|
|
@ -76,7 +76,7 @@ class spamfilterController extends spamfilter
|
|||
if($grant->manager) return new Object();
|
||||
}
|
||||
|
||||
$oFilterModel = &getModel('spamfilter');
|
||||
$oFilterModel = getModel('spamfilter');
|
||||
// Check if the IP is prohibited
|
||||
$output = $oFilterModel->isDeniedIP();
|
||||
if(!$output->toBool()) return $output;
|
||||
|
|
@ -104,7 +104,7 @@ class spamfilterController extends spamfilter
|
|||
{
|
||||
if($_SESSION['avoid_log']) return new Object();
|
||||
|
||||
$oFilterModel = &getModel('spamfilter');
|
||||
$oFilterModel = getModel('spamfilter');
|
||||
// Confirm if the trackbacks have been added more than once to your document
|
||||
$output = $oFilterModel->isInsertedTrackback($obj->document_srl);
|
||||
if(!$output->toBool()) return $output;
|
||||
|
|
@ -117,8 +117,8 @@ class spamfilterController extends spamfilter
|
|||
$output = $oFilterModel->isDeniedWord($text);
|
||||
if(!$output->toBool()) return $output;
|
||||
// Start Filtering
|
||||
$oTrackbackModel = &getModel('trackback');
|
||||
$oTrackbackController = &getController('trackback');
|
||||
$oTrackbackModel = getModel('trackback');
|
||||
$oTrackbackController = getController('trackback');
|
||||
|
||||
list($ipA,$ipB,$ipC,$ipD) = explode('.',$_SERVER['REMOTE_ADDR']);
|
||||
$ipaddress = $ipA.'.'.$ipB.'.'.$ipC;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue