khanat-opennel-code/code/web/public_php/setup/index.php

48 lines
1.1 KiB
PHP
Raw Normal View History

2014-09-02 16:34:09 +00:00
<?php
2014-09-05 07:57:06 +00:00
error_reporting(E_ALL);
ini_set('display_errors', 'on');
2014-09-02 16:34:09 +00:00
2014-09-05 07:57:06 +00:00
class SystemExit extends Exception {}
try {
2014-09-02 16:34:09 +00:00
2014-09-05 07:57:06 +00:00
$pageTitle = "Setup";
include('header.php');
2014-09-02 16:34:09 +00:00
2014-09-05 07:57:06 +00:00
?>
2014-09-02 16:34:09 +00:00
2014-09-05 07:57:06 +00:00
<div class="panel panel-default" style="margin-left: auto; margin-right: auto; max-width: 256px;">
<div class="panel-body">
2014-09-02 16:34:09 +00:00
2014-09-05 07:57:06 +00:00
<p>
<a class="btn btn-default" style="width: 100%;" href="upgrade.php"><span class="glyphicon glyphicon-wrench"></span> Upgrade</a>
</p>
2014-09-02 16:34:09 +00:00
2014-09-05 07:57:06 +00:00
<?php if (file_exists('role_domain')) { ?>
2014-09-02 16:34:09 +00:00
2014-09-05 07:57:06 +00:00
<!--<p>
<a class="btn btn-default" style="width: 100%;" href="domain.php"><span class="glyphicon glyphicon-globe"></span> Add Domain</a>
</p>-->
2014-09-02 16:34:09 +00:00
2014-09-06 18:56:06 +00:00
<!--<p>
2014-09-05 07:57:06 +00:00
<a class="btn btn-default" style="width: 100%;" href="upgrade.php"><span class="glyphicon glyphicon-tower"></span> Add Shard</a>
2014-09-06 18:56:06 +00:00
</p>-->
2014-09-02 16:34:09 +00:00
2014-09-05 07:57:06 +00:00
<?php } ?>
2014-09-02 16:34:09 +00:00
2014-09-05 07:57:06 +00:00
<!--<p>-->
<a class="btn btn-default" style="width: 100%;" href="status.php"><span class="glyphicon glyphicon-info-sign"></span> Status</a>
<!--</p>-->
2014-09-02 16:34:09 +00:00
2014-09-05 07:57:06 +00:00
</div>
</div>
2014-09-02 16:34:09 +00:00
2014-09-05 07:57:06 +00:00
<?php
2014-09-02 16:34:09 +00:00
2014-09-05 07:57:06 +00:00
include('footer.php');
2014-09-02 16:34:09 +00:00
2014-09-05 07:57:06 +00:00
}
catch (SystemExit $e) { /* do nothing */ }
2014-09-02 16:34:09 +00:00
?>