Initial import

This commit is contained in:
sas.fajri
2026-04-27 10:26:26 +07:00
commit bf9b9097ee
2388 changed files with 3002242 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
<?php
class Configemail extends CI_Controller
{
function config() {
$this->db_onedev = $this->load->database("onedev", true);
$sql = "select * from m_emailconfig where M_EmailConfigIsActive = 'Y'
limit 0,1";
$qry = $this->db_onedev->query($sql);
if ($qry) {
$rows = $qry->result_array();
if (count($rows) > 0 ) {
echo json_encode($rows[0]);
exit;
}
}
echo json_encode( array());
}
}