OSDN Git Service

add ACS webapp, sql, htdocs
[acs/acs.git] / webapp / config.php
diff --git a/webapp/config.php b/webapp/config.php
new file mode 100644 (file)
index 0000000..eebb077
--- /dev/null
@@ -0,0 +1,140 @@
+<?php
+// System Installation Directory
+define('MO_BASE_DIR', '/home/acsuser/acs/');
+
+// PEAR Installation Directory
+define('MO_PEAR_DIR', MO_BASE_DIR . '/pear');
+
+// FPDF Font Installation Directory
+define('FPDF_FONTPATH', 'font/');
+
+// Log output Directory
+define('MO_LOG_DIR', MO_BASE_DIR . '/logs');
+
+// Define level
+define('LEVEL_DEBUG', 1000);
+define('LEVEL_INFO', 2000);
+define('LEVEL_ERROR', 4000);
+define('LEVEL_WARN', 3000);
+define('LEVEL_FATAL', 5000);
+
+
+/**
+ * ¥í¥°¤Î¥Õ¥©¡¼¥Þ¥Ã¥È¥Ñ¥é¥á¡¼¥¿
+ * c .... ¥¯¥é¥¹Ì¾
+ * F .... ¥Õ¥¡¥ó¥¯¥·¥ç¥ó̾
+ * l .... ¹ÔÈÖ¹æ
+ * m .... ¥á¥Ã¥»¡¼¥¸
+ * N .... ¥á¥Ã¥»¡¼¥¸Ì¾
+ * p .... ¥á¥Ã¥»¡¼¥¸¥Ñ¥é¥á¡¼¥¿ÈÖ¹æ
+ * n .... ²þ¹Ô¥³¡¼¥É
+ * r .... Éüµ¢¥³¡¼¥É
+ * t .... ¥¿¥Ö¥³¡¼¥É
+ * T .... »þ¹ï
+ * C .... Äê¿ô̾¡Ê%C{Äê¿ô̾}¤È¤¹¤ë¤È¡¢Äê¿ô¤ÎÃͤ¬½ÐÎϤµ¤ì¤ë¡Ë
+ * d .... ÆüÉÕ¡Ê%d{½ñ¼°}¤È¤¹¤ë¤È¡¢ÆüÉդΥե©¡¼¥Þ¥Ã¥È¤¬»ØÄê¤Ç¤­¤ë¡Ë
+ * f .... ¥Õ¥¡¥¤¥ë̾¡Ê%f{'file'}¤È¤¹¤ë¤È¡¢basename¤¬½ÐÎϤµ¤ì¡¢%f{'dir'}¤È¤¹¤ë¤È¡¢dirname¤¬½ÐÎϤµ¤ì¤ë¡Ë
+ * x .... Ç¤°Õ¤ÎÃÍ¡ÊLogger¤Ë³ÊǼ¤µ¤ì¤¿¥Ñ¥é¥á¡¼¥¿Ì¾¤ò»ØÄꤹ¤ë¤È¡¢¤½¤ÎÃͤ¬½ÐÎϤµ¤ì¤ë¡Ë
+ */
+// Log filename
+define('MO_LOG_FILENAME', 'mojavi_%d{Ymd}.log');
+
+// Log Pattern Layout
+define('MO_LOG_PATTERN_LAYOUT', '[%N] %d{Y/m/d H:i:s} [%x{ip_address} - %x{login_id}] %m %c::%F() %f:%l %x{data}%n');
+
+// Database Default Configuration
+define('DB_PHPTYPE', 'mysqli');
+define('DB_HOSTSPEC', 'localhost');
+define('DB_PORT', '3306');
+define('DB_DATABASE', '');
+define('DB_USERNAME', '');
+define('DB_PASSWORD', '');
+
+// Error column Color
+define('S4_ERROR_COLUMN_COLOR', 'background:lightpink;');
+
+// Screen Name List
+define('S4_SCREEN_NAME_LIST', 'screen.ini');
+
+/*
+ Mail Configuration 
+ ¢¨É¬Íײսê¤Ë¤À¤±ÀßÄê¤ò»Ü¤¹¤³¤È¡£Ì¤ÀßÄê¤Î¾ì¹ç¡¢¥Ç¥Õ¥©¥ë¥È¤ò»ÈÍѤ¹¤ë¡£
+*/
+// -------------(¤³¤³¤«¤é)-------------
+define('S4_MAIL_SENDER_ADDR', ''); //S4 Á÷¿®¼Ô¥¢¥É¥ì¥¹
+
+// ¥á¡¼¥ëÁ÷¿®ÊýË¡¡§mail¡Êphp mailÁ÷¿®¡Ë sendmail:sendmailÁ÷¿® smtp:SMTPÁ÷¿®
+define('S4_MAIL_DRIVER', 'mail'); //mail, sendmail, smtp
+
+// php mailÀßÄê
+define('S4_MAIL_ARGS', ''); // mail()¤ÎÄɲåѥé¥á¡¼¥¿¡ÊÂè5°ú¿ô¡Ë
+
+// sendmailÀßÄê
+define('S4_SENDMAIL_PATH', ''); //sendmail¤Î¾ì½ê¡Ê¥Ç¥Õ¥©¥ë¥È¡§/usr/bin/sendmail¡Ë
+define('S4_SENDMAIL_ARGS', ''); // sendmai¤ÎÄɲåѥé¥á¡¼¥¿¡Ê¥Ç¥Õ¥©¥ë¥È¡§-i¡Ë
+
+// smtpÀßÄê
+define('S4_SMTP_HOST', ''); // SMTPÀܳ¥µ¡¼¥Ð̾¡Ê¥Ç¥Õ¥©¥ë¥È¡§localhost¡Ë
+define('S4_SMTP_PORT', ''); // SMTPÀܳ¤¹¤ë¥Ý¡¼¥ÈÈÖ¹æ¡Ê¥Ç¥Õ¥©¥ë¥È¡§25¤Ç¤¹¡Ë
+define('S4_SMTP_AUTH', ''); // SMTPǧ¾Ú̵ͭ¡Ê¥Ç¥Õ¥©¥ë¥È¡§false¡Ë
+define('S4_SMTP_USERNAME', ''); // SMTPǧ¾Ú¥æ¡¼¥¶Ì¾
+define('S4_SMTP_PASSWORD', ''); // SMTPǧ¾Ú¥Ñ¥¹¥ï¡¼¥É
+define('S4_SMTP_LOCALHOST', ''); // EHLO/HELO¤ÎÁ÷¿®¥Ñ¥é¥á¡¼¥¿¡Ê¥Ç¥Õ¥©¥ë¥È¡§localhost¡Ë
+define('S4_SMTP_TIMEOUT', ''); // SMTPÀܳ¤Î¥¿¥¤¥à¥¢¥¦¥È¡Ê¥Ç¥Õ¥©¥ë¥È¡§null(¥¿¥¤¥à¥¢¥¦¥È¤·¤Ê¤¤)¡Ë
+define('S4_SMTP_VERP', ''); // VERP»ÈÍѡʥǥե©¥ë¥È¡§false¡Ë
+define('S4_SMTP_DEBUG', ''); // SMTP¥Ç¥Ð¥Ã¥°¥â¡¼¥É¡Ê¥Ç¥Õ¥©¥ë¥È¡§false¡Ë
+define('S4_SMTP_PERSIST', ''); // send()¥á¥½¥Ã¥É¤ÎÊ£¿ô²ó¸Æ½Ð¤·¤ÇSMTPÀܳ¤ò»ý³¤µ¤»¤ë¡Ê¥Ç¥Õ¥©¥ë¥È¡§false¡Ë
+// -------------(¤³¤³¤Þ¤Ç)-------------
+
+// Mail Queue table name
+define('S4_MAIL_TABLE', 'mail_queue');
+
+// +---------------------------------------------------------------------------+
+// | Should we run the system in debug mode? When this is on, there may be     |
+// | various side-effects. But for the time being it only deletes the cache    |
+// | upon start-up.                                                            |
+// |                                                                           |
+// | This should stay on while you're developing your application, because     |
+// | many errors can stem from the fact that you're using an old cache file.   |
+// +---------------------------------------------------------------------------+
+// true = ¥¢¥¯¥»¥¹¤´¤È¤Ë¥­¥ã¥Ã¥·¥å¤òºî¤ë¤Î¤Ç¼Â²ÔÆ°»þ¤Ï¤«¤Ê¤é¤ºfalse¤Ë¤¹¤ë¤³¤È
+define('MO_DEBUG', false);
+
+// +---------------------------------------------------------------------------+
+// | The PHP error reporting level.                                            |
+// |                                                                           |
+// | See: http://www.php.net/error_reporting                                   |
+// +---------------------------------------------------------------------------+
+// ¥¨¥é¡¼¥ì¥Ù¥ë¤ÎÀßÄê
+//;define('MO_ERROR_REPORTING', E_ALL | E_STRICT);
+define('MO_ERROR_REPORTING', E_ALL);
+
+// +---------------------------------------------------------------------------+
+// | An absolute filesystem path to the mojavi package. This directory         |
+// | contains all the Mojavi packages.                                         |
+// +---------------------------------------------------------------------------+
+//;define('MO_APP_DIR', '<REPLACE ME>/mojavi');
+define('MO_APP_DIR', MO_BASE_DIR . '/mojavi');
+
+// +---------------------------------------------------------------------------+
+// | An absolute filesystem path to your web application directory. This       |
+// | directory is the root of your web application, which includes the core    |
+// | configuration files and related web application data.                     |
+// +---------------------------------------------------------------------------+
+//;define('MO_WEBAPP_DIR', '<REPLACE ME>/webapp');
+define('MO_WEBAPP_DIR', MO_BASE_DIR . '/webapp');
+
+// +---------------------------------------------------------------------------+
+// | An absolute filesystem path to the directory where cache files will be    |
+// | stored.                                                                   |
+// |                                                                           |
+// | NOTE: If you're going to use a public temp directory, make sure this is a |
+// |       sub-directory of the temp directory. The cache system will attempt  |
+// |       to clean up *ALL* data in this directory.                           |
+// +---------------------------------------------------------------------------+
+define('MO_CACHE_DIR', MO_WEBAPP_DIR . '/cache');
+
+// Smarty Installation Directory
+define('MO_SMARTY_DIR', MO_BASE_DIR . '/smarty');
+
+?>