paths libary

This commit is contained in:
HB9HIL
2024-02-02 14:57:27 +01:00
parent ae8c2efa4f
commit 39616c6a69
8 changed files with 30 additions and 25 deletions

View File

@@ -0,0 +1,23 @@
<?php defined('BASEPATH') or exit('No direct script access allowed');
/***
* Paths Libary to return specific paths
*/
class Paths
{
// generic function for return eQsl path //
function getPathEqsl()
{
$CI = &get_instance();
$CI->load->model('Eqsl_images');
return $CI->Eqsl_images->get_imagePath();
}
// generic function for return Qsl path //
function getPathQsl()
{
$CI = &get_instance();
$CI->load->model('Qsl_model');
return $CI->Qsl_model->get_imagePath();
}
}