email fix

This commit is contained in:
CHIEFSOFT\ameye
2024-10-05 23:40:25 -04:00
parent bb34455bd3
commit cbe3386da6
2 changed files with 11 additions and 5 deletions
@@ -74,6 +74,7 @@ img {height: auto;}
<tr>
<td class="bodycopy">
The task at <a href="{{server_name}}/">{{site_name}}</a> shown below is fast approaching deadline.
<br>
<br>
<span class="expire">Due Date : {{due_date}}.</span>
<br>
@@ -141,7 +142,7 @@ img {height: auto;}
<tr>
<td class="innerpadding bodycopy">
This task will be due very soon. After the due date, the task will be past due, and only the owner can extend it is for a short time before the task is closed permanently.
Your task is approaching its deadline. After the due date, it will be marked as pastdue, and only the task owner can extend it for a limited time before it is permanently closed.
</td>
</tr>
<tr>
+9 -4
View File
@@ -40,6 +40,8 @@ abstract class BaseController extends Controller
*/
protected $helpers = [];
private $cache_tag='NONE';
private $cache_server;
//private $cache_server='10.0.0.32';
public $current_env=0;
public $primary_image_sever='';
@@ -67,9 +69,10 @@ abstract class BaseController extends Controller
$this->micro_service_net1 = $this->getSiteConfigurations("system.micro_service_net1"); //"10.10.1
$this->user_server_name = $this->getSiteConfigurations("system.server_name"); // 'https://dev-users.wrenchboard.com';
$appConfig = config('Cache');
$appConfig->redis['host'] = $this->getSiteConfigurations("system.cache_host");
cache()->initialize($appConfig);
// $appConfig = config('Cache');
// $appConfig->redis['host'] = $this->getSiteConfigurations("system.cache_host");
// $this->cache_server = cache()->initialize($appConfig);
//
// var_dump($appConfig->redis['host']);
// exit();
@@ -86,7 +89,6 @@ abstract class BaseController extends Controller
// //$this->load->driver('cache', $redis);
}
public function getIpData(){
//$ip_loc="0.0.0.0";
if (!empty($_SERVER['HTTP_CLIENT_IP'])) {
@@ -98,6 +100,9 @@ abstract class BaseController extends Controller
}
return $ip_loc;
}
public function saveCache($cacheKey,$data,$timeLine=5000){
$cacheKey = $this->cache_tag."-".$cacheKey;
// $cache = \Config\Services::cache();