Skip to content
Permalink
Fetching contributors…
Cannot retrieve contributors at this time
39 lines (37 sloc) 1.13 KB
<?php
namespace NethServer\Module\Dashboard\Applications;
/*
* Copyright (C) 2013 Nethesis S.r.l.
*
* This script is part of NethServer.
*
* NethServer is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* NethServer is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with NethServer. If not, see <http://www.gnu.org/licenses/>.
*/
/**
* Savapage button
*/
class Savapage extends \Nethgui\Module\AbstractModule implements \NethServer\Module\Dashboard\Interfaces\ApplicationInterface
{
public function getName()
{
return "Savapage";
}
public function getInfo()
{
$host = explode(':',$_SERVER['HTTP_HOST']);
return array(
'url' => "https://".$host[0].":8632/admin",
);
}
}
You can’t perform that action at this time.