※上記の広告は60日以上更新のないWIKIに表示されています。更新することで広告が下部へ移動します。

<?php


define('OPENPNE_URL', 'http://tanakamaru.ciao.jp');

$GLOBALS['_OPENPNE_DSN_LIST']['main'] = array(
'dsn' => array(
   'phptype'  => 'mysql',
   'username' => 'LA12614923',
   'password' => 'hakusen',
   'hostspec' => 'mysql22.lolipop.jp',
   'database' => 'LA12614923',
   'new_link' => false,
   ),
);

define('ENCRYPT_KEY', 'hakusen');

define('MAIL_SERVER_DOMAIN', 'tanakamaru@jstaff.jp');



define('OPENPNE_DEBUGGING', 1);


define('OPENPNE_UNDER_MAINTENANCE', false);

define('OPENPNE_MAINTENANCE_TEXT', '');

$GLOBALS['_OPENPNE_MAINTENANCE_MODULES'] = array('admin');

define('OPENPNE_USE_OLD_CRYPT_BLOWFISH', false);

define('OPENPNE_USE_FUNCTION_CACHE', false);

define('OPENPNE_USE_FUNCTION_CACHE_MEMCACHE', false);

$GLOBALS['_OPENPNE_MEMCACHE_LIST']['func_cache'] = array(
'dsn' => array(
   'hostspec' => '127.0.0.1',
   ),
);

define('OPENPNE_USE_MYSQL_HINT', true);

define('SESSION_STORAGE', 0);

define('OPENPNE_TMP_IMAGE_DB', false);

define('OPENPNE_TMP_FILE_DB', false);




$GLOBALS['_OPENPNE_MEMCACHE_LIST']['session'] = array(
'dsn' => array(
   'hostspec' => '127.0.0.1',
   ),
);



define('OPENPNE_USE_PARTIAL_SSL', false);

define('OPENPNE_USE_SSL_PARAM', false);

define('OPENPNE_SSL_URL', 'https://sns.example.com/');

$GLOBALS['_OPENPNE_SSL_REQUIRED_MODULES'] = array('admin');

$GLOBALS['_OPENPNE_SSL_REQUIRED'] = array(
'pc' => array(
   'page_o_regist_prof',  'page_o_regist_prof_confirm', 'do_o_regist_prof',
   'page_o_regist_intro', 'page_o_ri', 'page_o_regist_end',
   'page_h_config_prof', 'page_h_config_prof_confirm', 'do_h_config_prof',
   'page_h_config_ktai', 'do_h_config_ktai_send',
   'page_h_config', 'do_h_config_1', 'do_h_config_2', 'do_h_config_3',
   'page_o_login', 'page_o_tologin', 'do_o_login',
   'page_o_public_invite','do_o_public_invite',
   'page_h_invite','page_h_invite_confirm','do_h_invite_insert_c_invite',
   'page_o_password_query','do_o_password_query',
),
'ktai' => array(
   'page_o_login', 'do_o_login', 'do_o_easy_login',
   'page_o_login2', 'do_o_update_ktai_address',
   'page_o_regist_pre', 'page_o_regist_input', 'do_o_insert_c_member',
   'page_o_regist_end',
   'page_o_password_query', 'do_o_password_query',
   'page_h_config_prof', 'do_h_config_prof_update_c_member',
   'page_h_config_easy_login', 'do_h_config_easy_login',
   'page_h_config_mail', 'do_h_config_mail_insert_c_ktai_address_pre',
   'page_h_pc_send', 'page_h_pc_send_confirm', 'do_h_pc_send_insert_c_pc_address_pre',
   'page_h_config_password_query', 'do_h_config_password_query_update_password_query',
   'page_h_config_password', 'do_h_config_password_update_password',
   'page_h_config', 'page_h_invite', 'do_h_invite_insert_c_invite',
));

$GLOBALS['_OPENPNE_SSL_SELECTABLE'] = array(
'pc' => array(
),
'ktai' => array(
));


define('OPENPNE_LIB_DIR' , OPENPNE_DIR . '/lib');
define('OPENPNE_VAR_DIR' , OPENPNE_DIR . '/var');
define('OPENPNE_WEBAPP_DIR' , OPENPNE_DIR . '/webapp');
define('OPENPNE_MODULES_DIR', OPENPNE_WEBAPP_DIR . '/modules');
define('OPENPNE_RSS_CACHE_DIR', OPENPNE_VAR_DIR . '/rss_cache');
define('OPENPNE_PUBLIC_HTML_DIR', OPENPNE_DIR . '/public_html');


define('USE_EXT_DIR', false);
define('OPENPNE_WEBAPP_EXT_DIR' , OPENPNE_DIR . '/webapp_ext');
define('OPENPNE_MODULES_EXT_DIR', OPENPNE_WEBAPP_EXT_DIR . '/modules');

define('OPENPNE_WEBAPP_BIZ_DIR' , OPENPNE_DIR . '/webapp_biz');
define('OPENPNE_MODULES_BIZ_DIR', OPENPNE_WEBAPP_BIZ_DIR . '/modules');


error_reporting(E_ALL ^ E_NOTICE);

switch(OPENPNE_DEBUGGING) {
case 2:
   $GLOBALS['SMARTY']['debugging'] = true;
case 1:
   ini_set('display_errors', true);
   ini_set('log_errors', false);
   break;
case 0:
default:
   ini_set('display_errors', false);
   ini_set('log_errors', true);
   ini_set('error_log', OPENPNE_VAR_DIR . '/log/php_errors.log');
   break;
}

define('LOG_C_ACCESS_LOG', true);

define('OPENPNE_LOG_FUNCTION', '');


ini_set('session.gc_probability',1);
ini_set('session.gc_divisor',10000);

ini_set('session.gc_maxlifetime', 432000); // 5 days

$GLOBALS['OpenPNE']['common']['session_lifetime'] = 0;
$GLOBALS['OpenPNE']['common']['session_idletime'] = 432000; // 5 days

$GLOBALS['OpenPNE']['ktai']['session_lifetime'] = 0;
$GLOBALS['OpenPNE']['ktai']['session_idletime'] = 3600; // 1 hour

$GLOBALS['OpenPNE']['admin']['session_lifetime'] = 0;
$GLOBALS['OpenPNE']['admin']['session_idletime'] = 86400; // 1 day

define('OPENPNE_SESSION_CHECK_URL', true);




define('OPENPNE_IMG_CACHE_PUBLIC', false);

if (OPENPNE_IMG_CACHE_PUBLIC) {
   define('OPENPNE_IMG_CACHE_DIR', OPENPNE_PUBLIC_HTML_DIR . '/img');
} else {
   define('OPENPNE_IMG_CACHE_DIR', OPENPNE_VAR_DIR . '/img_cache');
}

$GLOBALS['_OPENPNE_IMG_ALLOWED_SIZE'] = array('76x76', '120x120', '180x180', '240x320');

define('OPENPNE_IMG_CACHE_PREFIX', 'img_cache_');

define('OPENPNE_IMG_JPEG_QUALITY', 75);

define('USE_IMAGEMAGICK', 0);

define('IMGMAGICK_APP', '/usr/bin/convert');


define('IMAGE_MAX_FILESIZE', 300);

define('IMAGE_MAX_WIDTH', 0);
define('IMAGE_MAX_HEIGHT', 0);

define('OPENPNE_IMG_KTAI_MAX_WIDTH', 240);
define('OPENPNE_IMG_KTAI_MAX_HEIGHT', 320);


define('OPENPNE_USE_FILEUPLOAD', false);

define('FILE_MAX_FILESIZE', 300);

define('FILE_ALLOWED_EXTENTIONS', '');


define('RSS_CACHE_LIMIT', 100);



define('MAIL_ADDRESS_HASHED', true);

define('MAIL_FROM_ENCODING', 'auto');

define('MAIL_DEBUG_LOG', false);


define('MAIL_HAN2ZEN', true);

define('MAIL_HEADER_SEP', 'LF');

define('MAIL_SET_ENVFROM', true);



mb_language('Japanese');
ini_set('mbstring.detect_order', 'auto');
ini_set('mbstring.http_input' , 'auto');
ini_set('mbstring.http_output' , 'pass');
ini_set('mbstring.internal_encoding', 'UTF-8');
ini_set('mbstring.script_encoding' , 'UTF-8');
ini_set('mbstring.substitute_character', 'none');
mb_regex_encoding('UTF-8');

define('OPENPNE_TRIM_DOUBLEBYTE_SPACE', true);


define('OPENPNE_USE_API', false);

define('OPENPNE_API_TOKEN', 'OpenPNE');

define('SERVER_IP_KEY', 'REMOTE_ADDR');



umask(0);

define('GOOGLE_MAPS_API_KEY', '');

define('GOOGLE_AJAX_SEARCH_API_KEY', '');


define('ADMIN_MODULE_NAME', 'admin');

define('DISPLAY_VERSION', true);

define('OPENPNE_DASHBOARD_URL', 'http://ad.pne.jp/dashboard/');

define('OPENPNE_WEATHER_URL', 'http://weather.yahoo.co.jp/weather/');

define('CHECK_KTAI_UA', true);

define('CHECK_KTAI_IP', false);

define('OPENPNE_USE_COMMU_MAP', true);

define('OPENPNE_MAIL_QUEUE', false);
define('SEND_MAIL_QUEUE_NUM', 10);

define('OPENPNE_MESSAGE_QUEUE', false);
define('SEND_MESSAGE_QUEUE_NUM', 10);

define('OPENPNE_USE_CAPTCHA', true);

define('IS_SLAVEPNE' , false);

$GLOBALS['_OPENPNE_AUTH_CONFIG'] =
array(
'storage'=>"DB",
'options'=>array(
   'dsn'         => array(
       'phptype'  => 'mysql',
       'username' => 'root',
       'password' => '',
       'hostspec' => 'localhost',
       'database' => '',
       'new_link' => true,
       ),
   'table'       => '',
   'usernamecol' => 'username',
   'passwordcol' => 'password',
   'cryptType'   => 'none',
   ),
);

define('CHECK_IMG_AUTH', false);

define('OPENPNE_EMOJI_DOCOMO_FOR_PC', true);

?>




| 新しいページ | 編集 | 差分 | 編集履歴 | ページ名変更 | アップロード | 検索 | ページ一覧 | タグ | RSS | ご利用ガイド | 管理者に問合せ |
@wiki - 無料レンタルウィキサービス | プライバシーポリシー