Changeset 7570
- Timestamp:
- Jun 11, 2008, 8:45:48 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
OpenPNE/branches/stable-2.10.x/public_html/img.php
r4756 r7570 7 7 require_once './config.inc.php'; 8 8 9 // エラー出力を抑制 10 ini_set('display_errors', false); 11 ob_start(); 9 12 10 13 //SNSにログインしているかどうか … … 48 51 require_once OPENPNE_WEBAPP_DIR . '/lib/auth.inc'; 49 52 } 53 } else { 54 // include_path の設定 55 include_once OPENPNE_LIB_DIR . '/include/PHP/Compat/Constant/PATH_SEPARATOR.php'; 56 $include_paths = array( 57 OPENPNE_LIB_DIR . '/include', 58 OPENPNE_WEBAPP_DIR . '/lib', 59 ini_get('include_path') 60 ); 61 ini_set('include_path', implode(PATH_SEPARATOR, $include_paths)); 50 62 } 51 52 // エラー出力を抑制53 ini_set('display_errors', false);54 ob_start();55 56 // include_path の設定57 include_once OPENPNE_LIB_DIR . '/include/PHP/Compat/Constant/PATH_SEPARATOR.php';58 $include_paths = array(59 OPENPNE_LIB_DIR . '/include',60 OPENPNE_WEBAPP_DIR . '/lib',61 ini_get('include_path')62 );63 ini_set('include_path', implode(PATH_SEPARATOR, $include_paths));64 63 65 64 // 各種設定
Note: See TracChangeset
for help on using the changeset viewer.