|
Server : Apache/2.2.2 (Fedora) System : Linux App1.pathumtani.go.th 2.6.20-1.2320.fc5smp #1 SMP Tue Jun 12 19:40:16 EDT 2007 i686 User : apache ( 48) PHP Version : 5.2.9 Disable Function : NONE Directory : /var/www/html/pathumthani_eoffice/common/CA/ |
Upload File : |
<?php
define(_LOCAL, 1);
define("OPEN_SSL_CONF_PATH", $_SERVER["DOCUMENT_ROOT"]."/pathumthani_eoffice/application/CA/OpenSSL/bin/openssl.cnf"); // Point to your config file
define("OPEN_SSL_CERT_DAYS_VALID", 365); // Number of days how long the certificate is valid
define("FILE_LOCATION", $_SERVER["DOCUMENT_ROOT"]."/pathumthani_eoffice/application/CA/temp/");
define("FILE_LOCATION2", $_SERVER["DOCUMENT_ROOT"]."/pathumthani_eoffice/application/CA/temp2/"); // Location where to store the pem files.
define("HTML_LOCATION", "http://".$_SERVER["SERVER_NAME"]."/pathumthani_eoffice/application/CA/temp/"); // Location where to store the pem files.
define("DEBUG", 0);
// Database SETUP
if(_LOCAL == 1)
{
$dbConfig = array(
"Host" => "localhost",
"User" => "sapphire",
"Password" => "sprd!@#$%",
"Database" => "pathumthani_eoffice"
);
}
else
{
$dbConfig = array(
"Host" => "localhost",
"User" => "",
"Password" => "",
"Database" => ""
);
}
?>