Version 3.1.4
This commit is contained in:
1 parent
1d4720f3e2
commit
ae5c01cc78
2563 files changed
+283048
-240689
No files matched your search
@@ -1,21 +1,28 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* <pre>
|
||||
* Invision Power Services
|
||||
* IP.Board v3.0.5
|
||||
* IP.Board v3.1.4
|
||||
* Registry class for setup
|
||||
* Last Updated: $Date: 2009-11-19 11:58:45 -0500 (Thu, 19 Nov 2009) $
|
||||
* Last Updated: $Date: 2010-09-15 17:14:23 -0400 (Wed, 15 Sep 2010) $
|
||||
* </pre>
|
||||
*
|
||||
* @author Matt Mecham
|
||||
* @copyright (c) 2001 - 2009 Invision Power Services, Inc.
|
||||
* @license http://www.iinvisionpower.com/community/board/license.html
|
||||
* @package Invision Power Board
|
||||
* @link http://www.iinvisionpower.com
|
||||
* @license http://www.invisionpower.com/community/board/license.html
|
||||
* @package IP.Board
|
||||
* @link http://www.invisionpower.com
|
||||
* @since 1st December 2008
|
||||
* @version $Revision: 5443 $
|
||||
* @version $Revision: 6881 $
|
||||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
* ipsRegistry class for install/upgrade
|
||||
* @package IP.Board
|
||||
* @ignore
|
||||
*/
|
||||
class ipsRegistry
|
||||
{
|
||||
/**
|
||||
@@ -354,9 +361,10 @@ class ipsRegistry
|
||||
/* Load config file */
|
||||
if ( file_exists( DOC_IPS_ROOT_PATH . "conf_global.php" ) )
|
||||
{
|
||||
$INFO = array();
|
||||
require DOC_IPS_ROOT_PATH . "conf_global.php";
|
||||
|
||||
if ( is_array( $INFO ) )
|
||||
if ( is_array( $INFO ) && count( $INFO ) )
|
||||
{
|
||||
foreach( $INFO as $key => $val )
|
||||
{
|
||||
@@ -431,13 +439,24 @@ class ipsRegistry
|
||||
}
|
||||
|
||||
/**
|
||||
* Dummy function to keep other code quiet
|
||||
* Grabs apps bitwise array
|
||||
*
|
||||
* @access public
|
||||
* @param string $appDir
|
||||
* @return string Core variables
|
||||
*/
|
||||
static public function fetchBitWiseOptions()
|
||||
static public function fetchBitWiseOptions( $appDir )
|
||||
{
|
||||
return FALSE;
|
||||
if ( $appDir == 'global' )
|
||||
{
|
||||
return self::_fetchCoreVariables( 'bitwise' );
|
||||
}
|
||||
else
|
||||
{
|
||||
return self::_fetchAppCoreVariables( $appDir, 'bitwise' );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Fetch global config data as array
|
||||
*
|
||||
@@ -1837,7 +1856,21 @@ class ips_CacheRegistry extends ips_base_Registry
|
||||
self::instance()->save_options = $options;
|
||||
return self::instance()->cacheSet( $key, $value );
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Store into cache library
|
||||
*
|
||||
* @access public
|
||||
* @param string Key
|
||||
* @param mixed Item to cache
|
||||
* @param int Time to live
|
||||
* @return mixed
|
||||
*/
|
||||
static public function putWithCacheLib( $key, $value, $ttl=0 )
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Rebuild a cache
|
||||
*
|
||||
|
||||
Reference in new issue
Block a user