mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
PHP 5 방식의 생성자 (__construct) 사용
This commit is contained in:
parent
73178c94bb
commit
15d3ba7ca1
88 changed files with 113 additions and 113 deletions
2
classes/cache/CacheApc.class.php
vendored
2
classes/cache/CacheApc.class.php
vendored
|
|
@ -30,7 +30,7 @@ class CacheApc extends CacheBase
|
|||
*
|
||||
* @return void
|
||||
*/
|
||||
function CacheApc()
|
||||
function __construct()
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
|||
2
classes/cache/CacheFile.class.php
vendored
2
classes/cache/CacheFile.class.php
vendored
|
|
@ -35,7 +35,7 @@ class CacheFile extends CacheBase
|
|||
*
|
||||
* @return void
|
||||
*/
|
||||
function CacheFile()
|
||||
function __construct()
|
||||
{
|
||||
$this->cache_dir = _XE_PATH_ . $this->cache_dir;
|
||||
FileHandler::makeDir($this->cache_dir);
|
||||
|
|
|
|||
2
classes/cache/CacheHandler.class.php
vendored
2
classes/cache/CacheHandler.class.php
vendored
|
|
@ -49,7 +49,7 @@ class CacheHandler extends Handler
|
|||
* @param boolean $always_use_file If set true, use a file cache always
|
||||
* @return CacheHandler
|
||||
*/
|
||||
function CacheHandler($target, $info = null, $always_use_file = false)
|
||||
function __construct($target, $info = null, $always_use_file = false)
|
||||
{
|
||||
if(!$info)
|
||||
{
|
||||
|
|
|
|||
2
classes/cache/CacheMemcache.class.php
vendored
2
classes/cache/CacheMemcache.class.php
vendored
|
|
@ -36,7 +36,7 @@ class CacheMemcache extends CacheBase
|
|||
* @param string $url url of memcache
|
||||
* @return void
|
||||
*/
|
||||
function CacheMemcache($url)
|
||||
function __construct($url)
|
||||
{
|
||||
//$config['url'] = array('memcache://localhost:11211');
|
||||
$config['url'] = is_array($url) ? $url : array($url);
|
||||
|
|
|
|||
2
classes/cache/CacheWincache.class.php
vendored
2
classes/cache/CacheWincache.class.php
vendored
|
|
@ -32,7 +32,7 @@ class CacheWincache extends CacheBase
|
|||
*
|
||||
* @return void
|
||||
*/
|
||||
function CacheWincache()
|
||||
function __construct()
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue