diff --git a/application/controllers/Appointments.php b/application/controllers/Appointments.php index c90c1b19..f1bcd0ad 100755 --- a/application/controllers/Appointments.php +++ b/application/controllers/Appointments.php @@ -86,7 +86,7 @@ class Appointments extends CI_Controller { { try { - if ( ! is_ea_installed()) + if ( ! is_app_installed()) { redirect('installation/index'); return; diff --git a/application/controllers/Installation.php b/application/controllers/Installation.php index 4c1aaa1e..8e38b7aa 100644 --- a/application/controllers/Installation.php +++ b/application/controllers/Installation.php @@ -70,7 +70,7 @@ class Installation extends CI_Controller { */ public function index() { - if (is_ea_installed()) + if (is_app_installed()) { redirect('appointments/index'); return; @@ -88,7 +88,7 @@ class Installation extends CI_Controller { { try { - if (is_ea_installed()) + if (is_app_installed()) { return; } diff --git a/application/helpers/installation_helper.php b/application/helpers/installation_helper.php index e8f74b16..6c78978b 100644 --- a/application/helpers/installation_helper.php +++ b/application/helpers/installation_helper.php @@ -21,7 +21,7 @@ * * @return bool Returns whether E!A is installed or not. */ -function is_ea_installed() +function is_app_installed() { $framework =& get_instance();