2020-04-22 22:48:56 +03:00
|
|
|
|
<?php defined('BASEPATH') or exit('No direct script access allowed');
|
2015-10-18 20:51:24 +03:00
|
|
|
|
|
2016-01-01 17:45:01 +02:00
|
|
|
|
/* ----------------------------------------------------------------------------
|
2024-01-01 01:14:38 +03:00
|
|
|
|
* MaketRandevu - MAKET Randevu Portalı
|
2016-01-01 17:45:01 +02:00
|
|
|
|
*
|
|
|
|
|
* @package EasyAppointments
|
|
|
|
|
* @author A.Tselegidis <alextselegidis@gmail.com>
|
2021-12-18 19:43:45 +03:00
|
|
|
|
* @copyright Copyright (c) Alex Tselegidis
|
|
|
|
|
* @license https://opensource.org/licenses/GPL-3.0 - GPLv3
|
|
|
|
|
* @link https://easyappointments.org
|
2016-01-01 17:45:01 +02:00
|
|
|
|
* @since v1.1.0
|
|
|
|
|
* ---------------------------------------------------------------------------- */
|
|
|
|
|
|
2015-10-18 20:51:24 +03:00
|
|
|
|
/**
|
|
|
|
|
* Check if Easy!Appointments is installed.
|
|
|
|
|
*
|
2020-04-22 22:48:56 +03:00
|
|
|
|
* This function will check some factors to determine if Easy!Appointments is installed or not. It is possible that the
|
|
|
|
|
* installation is properly configure without being recognized by this method.
|
2015-10-18 20:51:24 +03:00
|
|
|
|
*
|
2020-04-22 22:48:56 +03:00
|
|
|
|
* Notice: You can add more checks into this file in order to further check the installation state of the application.
|
2015-10-18 20:51:24 +03:00
|
|
|
|
*
|
|
|
|
|
* @return bool Returns whether E!A is installed or not.
|
|
|
|
|
*/
|
2023-03-13 11:06:18 +03:00
|
|
|
|
function is_app_installed(): bool
|
2017-09-15 14:36:37 +03:00
|
|
|
|
{
|
2023-11-29 12:24:09 +03:00
|
|
|
|
$CI = &get_instance();
|
2020-04-22 22:48:56 +03:00
|
|
|
|
|
2020-12-02 23:10:11 +03:00
|
|
|
|
return $CI->db->table_exists('users');
|
2015-10-18 20:51:24 +03:00
|
|
|
|
}
|