Version 3.2.3
This commit is contained in:
1 parent
ae5c01cc78
commit
78706903a2
2641 files changed
+228363
-201264
No files matched your search
@@ -3,18 +3,18 @@
|
||||
/**
|
||||
* <pre>
|
||||
* Invision Power Services
|
||||
* IP.Board v3.1.4
|
||||
* IP.Board v3.2.3
|
||||
* ipsController for setup
|
||||
* Last Updated: $Date: 2010-09-15 17:14:23 -0400 (Wed, 15 Sep 2010) $
|
||||
* Last Updated: $Date: 2011-09-22 09:37:11 -0400 (Thu, 22 Sep 2011) $
|
||||
* </pre>
|
||||
*
|
||||
* @author Matt Mecham
|
||||
* @copyright (c) 2001 - 2009 Invision Power Services, Inc.
|
||||
* @license http://www.invisionpower.com/community/board/license.html
|
||||
* @license This is NULLED!
|
||||
* @package IP.Board
|
||||
* @link http://www.invisionpower.com
|
||||
* @link http://hatynka.in
|
||||
* @since 1st December 2008
|
||||
* @version $Revision: 6881 $
|
||||
* @version $Revision: 9537 $
|
||||
*
|
||||
*/
|
||||
|
||||
@@ -50,7 +50,7 @@ class ipsController
|
||||
* Make us a singleton please
|
||||
*
|
||||
* @access private
|
||||
* @return void
|
||||
* @return @e void
|
||||
*/
|
||||
private function __construct() { }
|
||||
|
||||
@@ -58,7 +58,7 @@ class ipsController
|
||||
* Public facing function to run the controller
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
* @return @e void
|
||||
*/
|
||||
static public function run()
|
||||
{
|
||||
@@ -71,7 +71,7 @@ class ipsController
|
||||
* Initialize ipsRegistry and this class
|
||||
*
|
||||
* @access protected
|
||||
* @return void
|
||||
* @return @e void
|
||||
*/
|
||||
protected function init()
|
||||
{
|
||||
@@ -83,7 +83,7 @@ class ipsController
|
||||
* Handle the incoming request using the command resolver
|
||||
*
|
||||
* @access protected
|
||||
* @return void
|
||||
* @return @e void
|
||||
*/
|
||||
protected function handleRequest()
|
||||
{
|
||||
@@ -131,7 +131,7 @@ class ipsController_CommandResolver
|
||||
* Constructor
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
* @return @e void
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
@@ -158,7 +158,7 @@ class ipsController_CommandResolver
|
||||
/* Got a section? */
|
||||
if ( ! $section )
|
||||
{
|
||||
if ( file_exists( $filepath . 'index.php' ) )
|
||||
if ( is_file( $filepath . 'index.php' ) )
|
||||
{
|
||||
$section = 'index';
|
||||
}
|
||||
@@ -166,14 +166,14 @@ class ipsController_CommandResolver
|
||||
|
||||
$classname = IPS_APP_COMPONENT . '_' . $section;
|
||||
|
||||
if ( file_exists( $filepath . 'manualResolver.php' ) )
|
||||
if ( is_file( $filepath . 'manualResolver.php' ) )
|
||||
{
|
||||
require_once( $filepath . 'manualResolver.php' );
|
||||
require_once( $filepath . 'manualResolver.php' );/*noLibHook*/
|
||||
$classname = IPS_APP_COMPONENT . '_' . $module . '_manualResolver';
|
||||
}
|
||||
else if ( file_exists( $filepath . $section . '.php' ) )
|
||||
else if ( is_file( $filepath . $section . '.php' ) )
|
||||
{
|
||||
require_once( $filepath . $section . '.php' );
|
||||
require_once( $filepath . $section . '.php' );/*noLibHook*/
|
||||
}
|
||||
|
||||
if ( class_exists( $classname ) )
|
||||
@@ -207,17 +207,19 @@ abstract class ipsCommand
|
||||
protected $registry;
|
||||
protected $DB;
|
||||
protected $settings;
|
||||
protected $request;
|
||||
public $request;
|
||||
protected $lang;
|
||||
protected $member;
|
||||
protected $memberData;
|
||||
protected $cache;
|
||||
protected $caches;
|
||||
/**#@-*/
|
||||
|
||||
/**
|
||||
* Constructor override
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
* @return @e void
|
||||
*/
|
||||
final public function __construct()
|
||||
{
|
||||
@@ -228,7 +230,7 @@ abstract class ipsCommand
|
||||
*
|
||||
* @access public
|
||||
* @param object ipsRegistry reference
|
||||
* @return void
|
||||
* @return @e void
|
||||
*/
|
||||
public function makeRegistryShortcuts( ipsRegistry $registry )
|
||||
{
|
||||
@@ -248,7 +250,7 @@ abstract class ipsCommand
|
||||
*
|
||||
* @access public
|
||||
* @param object ipsRegistry reference
|
||||
* @return void
|
||||
* @return @e void
|
||||
*/
|
||||
public function execute( ipsRegistry $registry )
|
||||
{
|
||||
@@ -261,7 +263,7 @@ abstract class ipsCommand
|
||||
*
|
||||
* @access protected
|
||||
* @param object ipsRegistry reference
|
||||
* @return void
|
||||
* @return @e void
|
||||
*/
|
||||
protected abstract function doExecute( ipsRegistry $registry );
|
||||
}
|
||||
@@ -274,7 +276,7 @@ class ipsCommand_default extends ipsCommand
|
||||
*
|
||||
* @access public
|
||||
* @param object ipsRegistry reference
|
||||
* @return void
|
||||
* @return @e void
|
||||
*/
|
||||
protected function doExecute( ipsRegistry $registry )
|
||||
{
|
||||
@@ -285,7 +287,7 @@ class ipsCommand_default extends ipsCommand
|
||||
// Uh oh, this is a big one.. (no forums app)
|
||||
//-----------------------------------------
|
||||
|
||||
if ( ! file_exists( $filepath ) )
|
||||
if ( ! is_file( $filepath ) )
|
||||
{
|
||||
print "Не найден файл команд " . ipsRegistry::$current_module;
|
||||
exit();
|
||||
|
||||
Reference in new issue
Block a user