Subversion Repositories oidplus

Rev

Rev 1197 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1197 Rev 1221
Line 64... Line 64...
64
                        $reason = _L('Functionality only available on Windows systems');
64
                        $reason = _L('Functionality only available on Windows systems');
65
                        return false;
65
                        return false;
66
                }
66
                }
67
 
67
 
68
                if (!class_exists('COM')) {
68
                if (!class_exists('COM')) {
69
                        $reason = _L('To use %1, please enable the lines "extension=%2" and "extension_dir=ext" in your PHP.ini file.','ViaThinkSoftSimpleEventLog','com_dotnet');
69
                        $reason = _L('To use %1, please enable the lines "extension=%2" and "extension_dir=ext" in the configuration file %3.',get_class(),'com_dotnet',php_ini_loaded_file() ? php_ini_loaded_file() : 'PHP.ini');
70
                        return false;
70
                        return false;
71
                }
71
                }
72
 
72
 
73
                try {
73
                try {
74
                        $x = new \COM(self::CLASS_ViaThinkSoftSimpleEventLog);
74
                        $x = new \COM(self::CLASS_ViaThinkSoftSimpleEventLog);