<?php
// if( isset($_SERVER['HTTPS'] ) ) {
// $global['absolute-url'] = "https://rms.rusera.co.id/";
// } else {
// $global['absolute-url'] = "http://rms.rusera.co.id/";	
// }
$global['absolute-url'] = "https://rms.rusera.co.id/";
$global['root'] = $_SERVER['DOCUMENT_ROOT']."/";
$global['head-url'] = "";
$global['root-admin'] = $global['root']."admin/";
$global['root-model'] = $global['root']."model/";
$global['api-url'] = "http://rms.rusera.co.id/";
$global['path-head'] = "packages/head.php";
$global['path-config'] = "packages/global_config.php";
$global['favicon'] = $global['absolute-url']."img/icon/rms-icons.ico";
$global['logo'] = $global['absolute-url']."img/logo/ruas-img.png";
$global['logo-url'] = $global['absolute-url']."img/logo/ruas-img.png";
$path['home'] = $global['absolute-url'];
$seo['company-name'] = "Ruas Management System";
$global['copyright'] = "&copy; ".$seo['company-name']." ".date("Y")." All rights reserved.";
$global['powered'] = date('Y')." &copy; Powered by <a id='copyright-link' href='http://tnpgroup.co' target='_blank' style='color:#ffffff;'>TNP Group</a>.";
//$global['body-css'] = "hold-transition skin-tnp-light sidebar-mini fixed ";
$global['body-css'] = "hold-transition skin-tnp-light sidebar-collapse sidebar-mini fixed";
$key['api-google-map'] = "AIzaSyCq2wzNaj6r7x8IqrmBIxzut5jLh_UpEig";

//database config
$database['name'] = "ruser420_rms";
$database['user'] = "ruser420_dev";
$database['pass'] = "dbrms123";
$database['host'] = "localhost";

//config for smtp email
// $smtp['url'] = "smtp.gmail.com";
// $smtp['to'] = "riandy.febrianto14@gmail.com";
// $smtp['from'] = "riandyf@gmail.com";
// $smtp['from_name'] = "Ruas Management System";
// $smtp['password'] = "thecode1416";
// $smtp['reply-cs'] = "riandyf@gmail.com";

$smtp['url'] = "www.rusera.co.id";
$smtp['to'] = "riandyf@gmail.com";
$smtp['from'] = "donotreply@rusera.co.id";
$smtp['from_name'] = "Ruas Management System";
$smtp['password'] = "devrusera88";
$smtp['reply-cs'] = "riandyf@gmail.com";


// module login
$title['login'] = $seo['company-name']." | Administrator";
$path['login'] = $global['absolute-url'];
$path['login-activate'] = $global['absolute-url'].'activate/';
$path['login-forget'] = $global['absolute-url'].'forget-password/';
$path['reset-password'] = $global['absolute-url'].'reset-password/';

// module dashboard
$title['dashboard'] = $seo['company-name']." | Dashboard";
$path['dashboard'] = $global['absolute-url']."module/dashboard/";
$path['logout'] = $path['dashboard']."?action=logout";

// module admin
$title['admin'] = $seo['company-name']." | Module Administrator";
$path['admin'] = $global['absolute-url']."module/admin/";
$path['admin-insert'] = $global['absolute-url']."module/admin/insert/";
$path['admin-edit'] = $global['absolute-url']."module/admin/detail/";

// module role
$title['role'] = $seo['company-name']." | Module Role Access";
$path['role'] = $global['absolute-url']."module/role/";
$path['role-insert'] = $global['absolute-url']."module/role/insert/";
$path['role-edit'] = $global['absolute-url']."module/role/detail/";

// module access
$title['access'] = $seo['company-name']." | Module Access List";
$path['access'] = $global['absolute-url']."module/access/";
$path['access-insert'] = $global['absolute-url']."module/access/insert/";
$path['access-edit'] = $global['absolute-url']."module/access/detail/";

// module report
$title['report'] = $seo['company-name']." | Module Report";
$path['report'] = $global['absolute-url']."module/report/";
$path['report-insert'] = $global['absolute-url']."module/report/insert/";
$path['report-edit'] = $global['absolute-url']."module/report/detail/";

// module client
$title['client'] = $seo['company-name']." | Module Client";
$path['client'] = $global['absolute-url']."module/client/";
$path['client-insert'] = $global['absolute-url']."module/client/insert/";
$path['client-edit'] = $global['absolute-url']."module/client/detail/";

// module region
$title['region'] = $seo['company-name']." | Module Region";
$path['region'] = $global['absolute-url']."module/region/";
$path['region-insert'] = $global['absolute-url']."module/region/insert/";
$path['region-edit'] = $global['absolute-url']."module/region/detail/";

// module unit
$title['unit'] = $seo['company-name']." | Module Unit";
$path['unit'] = $global['absolute-url']."module/unit/";
$path['unit-insert'] = $global['absolute-url']."module/unit/insert/";
$path['unit-edit'] = $global['absolute-url']."module/unit/detail/";

// module shipment
$title['po'] = $seo['company-name']." | Module Purchase";
$path['po'] = $global['absolute-url']."module/po/";
$path['po-create'] = $global['absolute-url']."module/po/create/";
$path['po-save'] = $global['absolute-url']."module/po/create/save/";
$path['po-detail'] = $global['absolute-url']."module/po/detail/";
$path['po-edit'] = $global['absolute-url']."module/po/edit/";
$path['po-update'] = $global['absolute-url']."module/po/edit/update/";
$path['po-activity'] = $global['absolute-url']."module/po/activity/";
$path['po-document'] = $global['absolute-url']."module/po/document/";
$path['po-export'] = $global['absolute-url']."module/po/export/";

// module ppn
$title['ppn'] = $seo['company-name']." | Module PPN";
$path['ppn'] = $global['absolute-url']."module/ppn/";
?>