<?php
//system dir setup
define("DIR_APPDATA",     "../appdata/");
define("DIR_PALICANON_TRANSLATION","../appdata/palicanon/translate/");

define("FILE_DB_REF" , "../appdata/dict/system/ref.db");
define("FILE_DB_PALITEXT" , "../../appdata/palicanon/pali_text.db3");

$dir_appdata="../../appdata/";
$dir_db_userinfo="../../appdata/";
$dir_dict_system="../../appdata/dict/system/";
$dir_dict_3rd="../../appdata/dict/3rd/";
$dir_dict_term="../../appdata/dict/dhammaterm/";
$dir_language = "language/";
$_dir_lang=__DIR__."/../public/lang/";
$_dir_book_index="../public/book_index/";
$dir_palicanon="../../appdata/palicanon/";
$dir_palitext="../../appdata/palicanon/pali_text/";
$_dir_palicanon_wbw="../../appdata/palicanon/wbw/";
//file
$_file_db_group = "../../user/userinfo.db3";
$_file_db_userinfo = "../../user/userinfo.db3";
$_file_db_fileindex = "../../user/fileindex.db";
$_file_db_wbw = "../../user/wbw.db3";
$_file_db_term = "../../appdata/dict/dhammaterm/dhammaterm.db";
$_file_db_ref = "../../appdata/dict/system/ref.db";
$_file_db_pali_text = "../../appdata/palicanon/pali_text.db3";
//user dir
$dir_user_base="../../user/";
$dir_user_templet="../../user/templet";
$dir_myApp="/app";
$dir_mydocument="/my_document/";
$dir_myPaliCannon="/my_pali_cannon";
$dir_dict_user="/dict";
$file_dict_wbw_default="wbw.db";
$file_dict_user_default="default.db";

$_ui_lang="en,my,si,zh-tw,zh-cn";
?>