0byt3m1n1
Path:
C:
/
GEOMATICS 23-01-2021
/
LAN
/
CPMS
/
lib
/
[
Home
]
File: config.php
<?php define('BASE_DIR',dirname(__FILE__).'/..'); $server_ip ="http://192.168.0.9/cpms"; @session_start(); $username_global=@$_SESSION['username']; //define('BASE_DIR',dirname(__FILE__)); $arr_file_type = array( "image/bmp" => "bmp","application/msword" => "doc","application/pdf" => "pdf", "image/gif" => "gif","image/jpeg" => "jpeg", "image/png" => "png", "image/pjpeg" => "jpeg","application/vnd.ms-powerpoint"=>"pps","application/mspowerpoint"=>"ppt"); //-----division--------- //$division_array[1]="Administration"; $division_array[2]="BioTechnology; $division_array[3]=Construction; $division_array[4]="EDs Office"; $division_array[5]="Surface Water Division"; $division_array[6]=TEED; $division_array[7]=WMA; $division_array[8]=GWD; $division_array[9]=IHD; $division_array[10]=Library; $division_array[11]=ESD; $division_array[12]=WRM;$division_array[13]=MOS;$division_array[14]=RSC;$division_array[15]=CWAL; //---------------Account Head----------------- $acc_head[1]="Income"; $acc_head[2]="Expenses"; $acc_head[3]="Discount Paid"; $acc_head[4]="Discount Received";$acc_head[5]="Project Fund"; $acc_head[6]="Salary"; $acc_head_count=6; //----Month--------- $month[1]="January"; $month[2]="February"; $month[3]="March"; $month[4]="April"; $month[5]="May"; $month[6]="June"; $month[7]="July"; $month[8]="August"; $month[9]="September"; $month[10]="October"; $month[11]="November"; $month[12]="December"; //----user status $status_array_count=1; $status_array[0]="Disable";$status_array[1]="Enable"; //----Fund Type - Spelling change allowed, but order change not allowed $fund_array_count=2; $fund_array[0]="Planned";$fund_array[1]="External";$fund_array[2]="Consultancy"; //--fund generated percentage $planned_per=10;$external_per=20;$consultancy_per=20; // financial year var $fin_year_from = "-04-01"; $fin_year_to = "-03-31"; ?>