init
This commit is contained in:
178
nv/html/nv-nopdf/config.php
Normal file
178
nv/html/nv-nopdf/config.php
Normal file
@@ -0,0 +1,178 @@
|
||||
<?php
|
||||
//--------------------------------------------------------------------//
|
||||
// Filename : config.php //
|
||||
// Software : XOCP - X Open Community Portal //
|
||||
// Version : 0.1 //
|
||||
// Date : 2008-06-15 //
|
||||
// License : GPL //
|
||||
//--------------------------------------------------------------------//
|
||||
|
||||
// test dari bani, adiet
|
||||
|
||||
if (!defined("XOCP_CONFIG_INCLUDED")) {
|
||||
define("XOCP_CONFIG_INCLUDED", TRUE);
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
///////////////////////////////////////// CONFIG START ///////////////////////////////////////////////
|
||||
global $xocpConfig;
|
||||
|
||||
date_default_timezone_set("Asia/Jakarta");
|
||||
ini_set("log_errors", 1);
|
||||
|
||||
define("XOCP_PACS_AETITLE", "ABPACS");
|
||||
define("XOCP_PACS_HOST", "206.189.147.234");
|
||||
define("XOCP_PACS_WADO_URI", "http://206.189.147.234:8080/wado");
|
||||
|
||||
|
||||
// define("XOCP_PACS_AETITLE","alpha");
|
||||
// define("XOCP_PACS_HOST","127.0.0.1");
|
||||
// define("XOCP_PACS_WADO_URI","http://127.0.0.1:3333/wado");
|
||||
|
||||
define("_JAVA_HOME", "JAVA_HOME=/usr/lib/jvm/jdk1.8.0_144");
|
||||
// define("_JAVA_HOME","JAVA_HOME=/usr");
|
||||
|
||||
// XOCP Physical Path
|
||||
// Physical path to your main XOCP directory WITHOUT trailing slash
|
||||
define("XOCP_DOC_ROOT", "/var/www/html/nv");
|
||||
// define("XOCP_DOC_ROOT","/Users/adiet/Sites/nv");
|
||||
ini_set("error_log", XOCP_DOC_ROOT . "/tmp/php-error.log");
|
||||
|
||||
// XOCP Server Subdir
|
||||
// Subdir to your main XOCP directory WITHOUT trailing slash
|
||||
define("XOCP_SERVER_SUBDIR", "/nv");
|
||||
|
||||
// XOCP Server
|
||||
// HTTP server name WITHOUT trailing slash
|
||||
define("XOCP_SERVER", "http://206.189.147.234:80");
|
||||
|
||||
// XOCP Ajax Request Handler
|
||||
// Script path of your ajax request handler script
|
||||
define("XOCP_AJAX_REQUESTHANDLER", XOCP_SERVER_SUBDIR . "/ajaxreq.php");
|
||||
|
||||
// Database
|
||||
// Choose the database to be used
|
||||
$GLOBALS["xocpConfig"]['database'] = "pacsdb";
|
||||
|
||||
// Database Hostname
|
||||
// Hostname of the database server. If you are unsure, 'localhost' works in most cases.
|
||||
$GLOBALS["xocpConfig"]['dbhost'] = "206.189.147.234";
|
||||
|
||||
// Database Username
|
||||
// Your database user account on the host
|
||||
$GLOBALS["xocpConfig"]['dbuname'] = "root";
|
||||
|
||||
// Database Password
|
||||
// Password for your database user account
|
||||
// $GLOBALS["xocpConfig"]['dbpass'] = "12Digit";
|
||||
$GLOBALS["xocpConfig"]['dbpass'] = "sasone102938";
|
||||
|
||||
// Database Name
|
||||
// The name of database on the host. The installer will attempt to create the database if not exist
|
||||
$GLOBALS["xocpConfig"]['dbname'] = "pacsdb_his";
|
||||
|
||||
define("_XOCP_DB_HOST", $GLOBALS["xocpConfig"]['dbhost']);
|
||||
define("_XOCP_DB_USER", $GLOBALS["xocpConfig"]['dbuname']);
|
||||
define("_XOCP_DB_PASS", $GLOBALS["xocpConfig"]['dbpass']);
|
||||
define("_XOCP_DB_NAME", $GLOBALS["xocpConfig"]['dbname']);
|
||||
define("_XOCP_DB_PORT", 3306);
|
||||
|
||||
// Connection to Online Live HIS DB
|
||||
|
||||
define("_HIS_DB_NAME", "rsabt201107");
|
||||
define("_HIS_DB_HOST", "dev.sismedika.online");
|
||||
define("_HIS_DB_PORT", "3306");
|
||||
define("_HIS_DB_USER", "hispacs");
|
||||
define("_HIS_DB_PASS", "s1sm3d1k4123!");
|
||||
|
||||
/*
|
||||
define("_HIS_DB_NAME","nv");
|
||||
define("_HIS_DB_HOST","localhost");
|
||||
define("_HIS_DB_PORT",3306);
|
||||
define("_HIS_DB_USER","root");
|
||||
define("_HIS_DB_PASS","");
|
||||
*/
|
||||
|
||||
define("_XOCP_DEBUG_LOG", 1);
|
||||
|
||||
// Table Prefix
|
||||
// This prefix will be added to all new tables created to avoid name conflict in the database.
|
||||
define("XOCP_PREFIX", "xocp_");
|
||||
|
||||
// Site name, html title tag
|
||||
$GLOBALS["xocpConfig"]['sitename'] = "GLOBAL AIS";
|
||||
|
||||
// Slogan for your site
|
||||
$GLOBALS["xocpConfig"]['slogan'] = "XOCP Powered AIS";
|
||||
define("XOCP_BANNER_TITLE", "DICOM Viewer");
|
||||
|
||||
// Admin mail address
|
||||
$GLOBALS["xocpConfig"]['adminmail'] = "adiet@192.168.1.17";
|
||||
|
||||
// Default language
|
||||
$GLOBALS["xocpConfig"]['language'] = "english";
|
||||
|
||||
// Portal ID
|
||||
define("XOCP_PORTAL_ID", 1);
|
||||
|
||||
// Debuging
|
||||
$GLOBALS["xocpConfig"]['debug_mode'] = TRUE;
|
||||
|
||||
define("XOCP_IMAGICK_CONVERT", trim(`which convert`));
|
||||
define("XOCP_IMAGICK_IDENTIFY", trim(`which identify`));
|
||||
define("XOCP_TESSERACT", trim(`which tesseract`));
|
||||
define("XOCP_FFMPEG", "/usr/bin/ffmpeg");
|
||||
define("XOCP_MENCODER", "/usr/bin/mencoder");
|
||||
define("XOCP_FLVTOOL", "/usr/bin/flvtool2");
|
||||
define("XOCP_MYSQL", "/usr/bin/mysql");
|
||||
|
||||
///////////////////////////////////////// CONFIG STOP ////////////////////////////////////////////////
|
||||
//////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// Default theme
|
||||
$GLOBALS["xocpConfig"]['default_theme'] = "plain";
|
||||
|
||||
// Module for your start page without php extension
|
||||
$GLOBALS["xocpConfig"]['startpage'] = "login";
|
||||
|
||||
// Username for guest (no login)
|
||||
$GLOBALS["xocpConfig"]['guestuser'] = "tamu";
|
||||
$GLOBALS["xocpConfig"]['page_id'] = 2;
|
||||
|
||||
// Organization ID (default)
|
||||
define("XOCP_ORGANIZATION_ID", 4);
|
||||
|
||||
// Version
|
||||
define("XOCP_VERSION", "XOCP 1.0");
|
||||
|
||||
// XOCP Virtual Path (URL)
|
||||
// Virtual path to your main XOCP directory WITHOUT trailing slash
|
||||
define("XOCP_URL", XOCP_SERVER . XOCP_SERVER_SUBDIR);
|
||||
|
||||
define("XOCP_SESSION_SAVEPATH", XOCP_DOC_ROOT . "/cache/session");
|
||||
define("XOCP_SESSION_TMPDATA", XOCP_DOC_ROOT . "/cache/tmpdata");
|
||||
|
||||
ini_set("session.serialize_handler", "php");
|
||||
$include_path = array(
|
||||
".",
|
||||
XOCP_DOC_ROOT . "/class/PEAR",
|
||||
XOCP_DOC_ROOT . "/include"
|
||||
);
|
||||
|
||||
|
||||
ini_set("include_path", XOCP_DOC_ROOT . "/class/PEAR");
|
||||
|
||||
set_include_path(get_include_path() . PATH_SEPARATOR . XOCP_DOC_ROOT . "/library");
|
||||
|
||||
session_name("XOCPSID");
|
||||
session_save_path(XOCP_SESSION_SAVEPATH);
|
||||
|
||||
define("XOCP_PAGE_CACHEDIR", XOCP_DOC_ROOT . "/cache/pages");
|
||||
|
||||
define("XOCP_TZ_INTERVAL", 7);
|
||||
|
||||
include_once("include/functions.php");
|
||||
include_once("class/database.php");
|
||||
|
||||
// Use persistent connection? (Yes=1 No=0)
|
||||
// Default is 'Yes'. Choose 'Yes' if you are unsure.
|
||||
}
|
||||
Reference in New Issue
Block a user