diff --git a/application/controllers/admin.php b/application/controllers/admin.php
index cb78e2af6691ec12ebe23eed1bf3cab7ccd6c559..b7643e396095383d3987dc33076d0662f8812216 100644
--- a/application/controllers/admin.php
+++ b/application/controllers/admin.php
@@ -27,7 +27,7 @@ class Admin extends CI_Controller
public function add_user()
{
- sleep(2);
+ sleep(1);
$this->load->library('form_validation');
$this->form_validation->set_rules('email', 'Email', 'required|max_length[40]|valid_email');
$this->form_validation->set_rules('pwd', 'Password', 'required|max_length[20]|alpha_numeric');
@@ -59,7 +59,7 @@ class Admin extends CI_Controller
public function delete_user()
{
- sleep(2);
+ sleep(1);
$this->load->library('form_validation');
$this->form_validation->set_rules('email', 'Email', 'required|max_length[40]|valid_email');
@@ -90,7 +90,7 @@ class Admin extends CI_Controller
public function edit_user()
{
- sleep(2);
+ sleep(1);
$this->load->library('form_validation');
$this->form_validation->set_rules('email', 'Email', 'required|max_length[40]|valid_email');
$this->form_validation->set_rules('pwd', 'Password', 'required|max_length[20]|alpha_numeric');
@@ -113,7 +113,7 @@ class Admin extends CI_Controller
public function change_password()
{
- sleep(2);
+ sleep(1);
$this->load->library('form_validation');
$this->form_validation->set_rules('curpwd', 'Current Password', 'required|max_length[20]|alpha_numeric');
$this->form_validation->set_rules('newpwd', 'New Password', 'required|max_length[20]|alpha_numeric');
diff --git a/application/controllers/site.php b/application/controllers/site.php
index 421cbdf125c897ea401a845e30caf0f69d6b7481..79e9bf3f0535a48781224060e6fa385b412ffb74 100644
--- a/application/controllers/site.php
+++ b/application/controllers/site.php
@@ -27,7 +27,7 @@ class Site extends CI_Controller
public function add_contact()
{
- sleep(2);
+ sleep(1);
$this->load->library('form_validation');
$this->form_validation->set_rules('name', 'Name', 'required|max_length[40]|callback_alpha_dash_space');
$this->form_validation->set_rules('email', 'Email', 'required|max_length[40]|valid_email');
@@ -61,7 +61,7 @@ class Site extends CI_Controller
public function delete_contact()
{
- sleep(2);
+ sleep(1);
$this->load->library('form_validation');
$this->form_validation->set_rules('name', 'Name', 'required|max_length[40]|callback_alpha_dash_space');
@@ -100,7 +100,7 @@ class Site extends CI_Controller
public function edit_contact()
{
- sleep(2);
+ sleep(1);
$this->load->library('form_validation');
$this->form_validation->set_rules('name', 'Name', 'required|max_length[40]|callback_alpha_dash_space');
$this->form_validation->set_rules('email', 'Email', 'required|max_length[40]|valid_email');
@@ -150,7 +150,7 @@ class Site extends CI_Controller
public function change_password()
{
- sleep(2);
+ sleep(1);
$this->load->library('form_validation');
$this->form_validation->set_rules('curpwd', 'Current Password', 'required|max_length[20]|alpha_numeric');
$this->form_validation->set_rules('newpwd', 'New Password', 'required|max_length[20]|alpha_numeric');