File tree Expand file tree Collapse file tree 1 file changed +21
-21
lines changed
Expand file tree Collapse file tree 1 file changed +21
-21
lines changed Original file line number Diff line number Diff line change 11<?php
2+ /**
3+ * vlibIni is a class used to store configuration parameters
4+ * for the vLIB library.
5+ *
6+ * @since 21/07/2002
7+ * @author Kelvin Jones <kelvin@kelvinjones.co.uk>
8+ * @copyright 2002 Active Fish Group
9+ * @package vLIB
10+ * @access private
11+ */
12+
213/* vim: set expandtab tabstop=4 shiftwidth=4: */
314// +----------------------------------------------------------------------+
415// | PHP version 4.0 |
3041if (!defined ('vlibIniClassLoaded ' )) {
3142 define ('vlibIniClassLoaded ' , 1 );
3243
33- /**
34- * vlibIni is a class used to store configuration parameters
35- * for the vLIB library.
36- *
37- * @since 21/07/2002
38- * @author Kelvin Jones <kelvin@kelvinjones.co.uk>
39- * @package vLIB
40- * @access private
41- */
4244
43- class vlibIni {
45+
46+ class vlibIni{
4447
4548 /** config vars for vlibTemplate */
46- function vlibTemplate () {
49+ public static function vlibTemplate () {
4750
4851 global $ conf ;
49-
50- $ tpl_dir = $ conf [" rootpath " ]. " /web/themes/ " .$ _SESSION [" s " ][ " theme " ]. " /templates " ;
52+
53+ $ tpl_dir = $ conf [' rootpath ' ]. ' /web/themes/ ' .$ _SESSION [' s ' ][ ' theme ' ]. ' /templates ' ;
5154
5255 return array (
5356
@@ -102,15 +105,12 @@ function vlibTemplate () {
102105
103106
104107 /** config vars for vlibDate */
105- function vlibDate () {
106-
107- return array (
108- 'DEFAULT_LANG ' => 'de ' // default language for the date displays
109- );
110-
111- }// << end function vlibDate
108+ public function vlibDate ()
109+ {
110+ return array ( 'DEFAULT_LANG ' => 'de ' ); //* default language for the date displays
111+ }
112112
113113
114114 }// << end class vlibIni
115- }
115+ } // << if Defined
116116?>
You can’t perform that action at this time.
0 commit comments