Subversion Repositories oidplus

Rev

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

Rev 1220 Rev 1231
Line 313... Line 313...
313
        /**
313
        /**
314
         * @return array
314
         * @return array
315
         */
315
         */
316
        public function getExtendedInfo(): array {
316
        public function getExtendedInfo(): array {
317
                $dsn = OIDplus::baseConfig()->getValue('ODBC_DSN', 'DRIVER={SQL Server};SERVER=localhost;DATABASE=oidplus;CHARSET=UTF8');
317
                $dsn = OIDplus::baseConfig()->getValue('ODBC_DSN', 'DRIVER={SQL Server};SERVER=localhost;DATABASE=oidplus;CHARSET=UTF8');
-
 
318
                $dsn = preg_replace('@(Password|PWD)=(.+);@ismU', '('._L('redacted').');', $dsn);
318
                return array(
319
                return array(
319
                        _L('DSN') => $dsn
320
                        _L('DSN') => $dsn
320
                );
321
                );
321
        }
322
        }
322
 
323