1
0
mirror of https://github.com/billz/raspap-webgui.git synced 2023-10-10 13:37:24 +02:00

Merge pull request #35 from jrmhaig/subdirectory

Set form actions correctly
This commit is contained in:
Joseph Haig 2016-09-11 20:52:27 +01:00 committed by GitHub
commit d5e296b85e
2 changed files with 2 additions and 2 deletions

View File

@ -37,7 +37,7 @@ function DisplayAuthConfig($username, $password){
<div class="panel-heading"><i class="fa fa-lock fa-fw"></i>Configure Auth</div>
<div class="panel-body">
<p><?php $status->showMessages(); ?></p>
<form role="form" action="/?page=auth_conf" method="POST">
<form role="form" action="?page=auth_conf" method="POST">
<?php CSRFToken() ?>
<div class="row">
<div class="form-group col-md-4">

View File

@ -67,7 +67,7 @@ function DisplayHostAPDConfig(){
<div class="panel-heading"><i class="fa fa-dot-circle-o fa-fw"></i> Configure hotspot</div>
<!-- /.panel-heading -->
<div class="panel-body">
<form role="form" action="/?page=hostapd_conf" method="POST">
<form role="form" action="?page=hostapd_conf" method="POST">
<!-- Nav tabs -->
<ul class="nav nav-tabs">
<li class="active"><a href="#basic" data-toggle="tab">Basic</a></li>