Search:
Login
Preferences
Help/Guide
About Trac
Register
Wiki
Timeline
Roadmap
Browse Source
View Tickets
Search
Context Navigation
←
Previous Change
Wiki History
Next Change
→
Changes between
Version 19
and
Version 20
of
XcacheApi
View differences
inline
side by side
Show
lines around each change
Show the changes in full context
Ignore:
Blank lines
Case changes
White space changes
Timestamp:
2008-10-20T04:28:23+02:00 (
5 years
ago)
Author:
moo
Comment:
fixed
#199
by Shnapoo
Legend:
Unmodified
Added
Removed
Modified
XcacheApi
v19
v20
115
115
public static function getInstance()
116
116
{
117
return (self::$xcobj instanceof XCache) ? self::$xcobj : new XCache;
117
if (!(self::$xcobj instanceof XCache)) {
118
self::$xcobj = new XCache;
119
}
120
return self::$xcobj;
118
121
}
119
122