mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
paths libary
This commit is contained in:
23
application/libraries/Paths.php
Normal file
23
application/libraries/Paths.php
Normal 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();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user