19 lines
366 B
PHP
19 lines
366 B
PHP
<?php
|
|
|
|
namespace App\Http\Controllers;
|
|
|
|
use Illuminate\Http\Request;
|
|
|
|
use App\Classes\LDAP\Server;
|
|
|
|
class HomeController extends Controller
|
|
{
|
|
public function home() {
|
|
$o = new Server;
|
|
|
|
return view('home')
|
|
->with('server',config('ldap.connections.default.name')) // @todo This connection name should be a config item
|
|
->with('bases',$o->getBaseDN());
|
|
}
|
|
}
|