fix image text
[pear] / Translation2.php
index 608aa51..08a8fe9 100644 (file)
@@ -122,7 +122,7 @@ class Translation2
     /**
      * Constructor
      */
-    function Translation2()
+    function __construct()
     {
         if (func_num_args()) {
             $msg = '<b>Translation2 error:</b>'
@@ -174,7 +174,7 @@ class Translation2
      * @static
      * @access private
      */
-    function & _storageFactory($driver, $options = '')
+    static  function & _storageFactory($driver, $options = '')
     {
         $storage_path  = 'Translation2/Container/'.strtolower($driver).'.php';
         $storage_class = 'Translation2_Container_'.strtolower($driver);