Version 2.3.6

This commit is contained in:
Neo committed 2025-12-19 00:26:08 -08:00
1 parent a3bb603c96
commit 19b38c7c74
764 files changed
+143731 -118164

No files matched your search

+20 -21
View File
@@ -2,28 +2,18 @@
/*
+--------------------------------------------------------------------------
| Invision Power Board 2.2.2
| Invision Power Board
| =============================================
| by Matthew Mecham
| (c) 2001 - 2006 Invision Power Services, Inc.
| http://www.invisionpower.com
| =============================================
| Web: http://www.invisionboard.com
| http://www.ibresource.ru/products/invisionpowerboard/
| Time: Monday 05th of March 2007 10:10:54 PM
| Release: e3790216629e5a2aaf37070b32237f06
| Licence Info: http://www.invisionboard.com/?license
| http://www.ibresource.ru/license
+---------------------------------------------------------------------------
| INVISION POWER BOARD IS NOT FREE / OPEN SOURCE!
+---------------------------------------------------------------------------
| INVISION POWER BOARD ÍÅ ßÂËßÅÒÑß ÁÅÑÏËÀÒÍÛÌ ÏÐÎÃÐÀÌÌÍÛÌ ÎÁÅÑÏÅ×ÅÍÈÅÌ!
| Ïðàâà íà ÏÎ ïðèíàäëåæàò Invision Power Services
| Ïðàâà íà ïåðåâîä IBResource (http://www.ibresource.ru)
+---------------------------------------------------------------------------
| > $Date: 2006-09-22 05:28:54 -0500 (Fri, 22 Sep 2006) $
| > $Revision: 567 $
| > $Author: matt $
| > $Date: 2007-03-15 10:54:50 -0400 (Thu, 15 Mar 2007) $
| > $Revision: 879 $
| > $Author: bfarber $
+---------------------------------------------------------------------------
|
| > TASK SCRIPT: Update Views
@@ -40,15 +30,19 @@
if ( ! defined( 'IN_IPB' ) )
{
print "<h1>Íåêîððåêòíûé àäðåñ</h1>Âû íå èìååòå äîñòóïà ê ýòîìó ôàéëó íàïðÿìóþ. Åñëè âû íåäàâíî îáíîâëÿëè ôîðóì, âû äîëæíû îáíîâèòü âñå ñîîòâåòñòâóþùèå ôàéëû.";
exit();
print "<h1>Incorrect access</h1>You cannot access this file directly. If you have recently upgraded, make sure you upgraded all the relevant files.";
exit();
}
class task_item
{
var $class = "";
var $root_path = "";
var $task = "";
var $class;
var $root_path = "";
var $task;
# I've actually seen a site with over 200 RSS imports
# When they run all at once, it times out, locks the task, and that's that
var $limit = 10;
/*-------------------------------------------------------------------------*/
// Our 'auto_run' function
@@ -71,7 +65,12 @@ class task_item
// 30 mins is RSS friendly.
//-----------------------------------------
$this->ipsclass->DB->build_query( array( 'select' => '*', 'from' => 'rss_import', 'where' => 'rss_import_enabled=1 AND rss_import_last_import <= '.$t_minus_30 ) );
$this->ipsclass->DB->build_query( array( 'select' => '*',
'from' => 'rss_import',
'where' => 'rss_import_enabled=1 AND rss_import_last_import <= '.$t_minus_30,
'order' => 'rss_import_last_import ASC',
'limit' => array( $this->limit )
) );
$rss_main_query = $this->ipsclass->DB->exec_query();
if ( $this->ipsclass->DB->get_num_rows( $rss_main_query ) )
@@ -107,7 +106,7 @@ class task_item
// Log to log table - modify but dont delete
//-----------------------------------------
$this->class->append_task_log( $this->task, 'Âûïîëíåíî èìïîðòèðîâàíèå RSS ïîòîêîâ ('. count($feeds_to_update) .')' );
$this->class->append_task_log( $this->task, 'RSS Import completed ('. count($feeds_to_update) .')' );
//-----------------------------------------
// Unlock Task: DO NOT MODIFY!