aboutsummaryrefslogtreecommitdiffstats
path: root/lib.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib.php')
-rw-r--r--lib.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib.php b/lib.php
index 135ee60..164a5bf 100644
--- a/lib.php
+++ b/lib.php
@@ -30,7 +30,7 @@ class NCache
*
* @return NCache
*/
- function build($path, $timeout = 3600)
+ public static function build($path, $timeout = 3600)
{
$path = __DIR__ . '/' . $path;
@@ -135,7 +135,7 @@ class l10n
*
* @return void
*/
- function load($lang)
+ public static function load($lang)
{
global $_t;
$_t = array();
@@ -190,7 +190,7 @@ P;
*
* @return string
*/
- function _t($s) {
+ public static function _t($s) {
if (trim($s) == '')
return '';