Skip to content
Snippets Groups Projects
Commit 713747f1 authored by Hahn Axel (hahn)'s avatar Hahn Axel (hahn)
Browse files

small fixes

parent 2643a9fe
No related branches found
No related tags found
1 merge request!66php8 only; added variable types; short array syntax; remove glyphicons
This commit is part of merge request !66. Comments created here will be created in the context of that merge request.
......@@ -180,7 +180,7 @@ class user
switch ($sAuthMethod) {
case 'ldap':
require_once("userauth.ldap.class.php");
$oUserAuth = new userauthLdap($aConfig['auth']['ldap']);
$oUserAuth = new userauthLdap();
break;
// implement other methods here
// see userauth.ldap.class.php as simple example
......
......@@ -120,7 +120,7 @@ class vcs implements iVcs
*
* @return string
*/
private function _setTempdir()
private function _setTempdir(): string
{
$this->_sTempDir = $this->_aCfg["url"];
$this->_sTempDir = preg_replace('/[\@\.\:\/]/', '_', $this->_sTempDir);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment