Merge branch 'master' of github.com:claudehohl/Stikked

This commit is contained in:
Claude 2012-04-13 20:23:20 +02:00
commit d716d40cf8
2 changed files with 4 additions and 4 deletions

View File

@ -1,5 +1,5 @@
RewriteEngine on
RewriteBase /
RewriteBase /stikked/htdocs/
RewriteCond $1 !^(index\.php|static)
RewriteRule ^(.*)$ index.php/$1 [QSA,L]

View File

@ -82,7 +82,7 @@ class Main extends CI_Controller
function index()
{
if (!isset($_POST['submit']))
if (!$this->input->post('submit'))
{
$data = $this->_form_prep();
$this->load->view('home', $data);
@ -119,7 +119,7 @@ class Main extends CI_Controller
else
{
if (isset($_POST['acopy']) and $_POST['acopy'] > 0)
if ($this->input->post('acopy'))
{
$this->db_session->set_flashdata('acopy', 'true');
}
@ -247,7 +247,7 @@ class Main extends CI_Controller
function view_options()
{
if (!isset($_POST['submit']))
if ($this->input->post('submit'))
{
$data = $this->_view_options_prep();
$this->load->view('view/view_options', $data);