Warning [PHP]: open_basedir restriction in effect. File is in wrong directory in file modules/news/include/fileup.inc.php line 70
//
// Form style section
//
$def_form = 0; // Default post form style. 0=Simple 1=Normal
$simple_smilies = 1; // Use Smilies Option for Simple Form
//
// Upload File section
//
define( 'UPLOADS' , 'cms/uploads/' ); // upload folder for files
define( 'UPLOAD_ACCLEVEL' , 0 ); // 0 = Guest upload ok, 1 = xoopsUser, 2 = Auther(Admin), Default = 1
define( 'GUEST_DOWNLOAD' , 0 ); // Guest Download Acceptable 0 = No , 1 = YES
$denyUID = array(0,99999); // Set deny naughty user's UID. It's work with UPLOAD_ACCLEVEL 1
//
// Image and Thumbnail Setting
//
$gd_ver = 0; // PHP GD Library Version (0:Not support, 1:Ver 1, 2:Ver 2)
$img_dir = "cms/uploads/"; // image folder ( You have to create this folder if you change. )
$thumb_dir = "cms/uploads/thumbs/"; // Thumb image folder ( You have to create this folder. )
$thumb_ext = ".+\.jpe?g$|.+\.png$|.+\.gif$"; // Thumb image target file extentions
$w = 140; // Thumb target width
$h = 160; // Thumb target height
//
// for Japanese
//
//define( 'SAVE_AS_MBSTR' , 'SJIS' ); // In case of multi-byte filename ( SJIS, UTF-8,EUC-JP, etc... )
//define("_FILEUP_TITLE", "źÉÕ¥Õ¥¡¥¤¥ë¡§"); // File up title for your language
//define("_FILEUP_USAGE","<br />¥×¥ì¥Ó¥å¡¼¤ò¼Â¹Ô¤¹¤ë¤ÈźÉÕ¥Õ¥¡¥¤¥ëÍó¤Ï¥¯¥ê¥¢¤µ¤ì¤Þ¤¹¡£"); // Add Message for About Post
//define("_FILEUP_ERROR","¥À¥¦¥ó¥í¡¼¥É¤ò¹Ô¤¦¤Ë¤Ï¥æ¡¼¥¶ÅÐÏ¿¤ò¤¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£"); // Error message when reject guest download /*
//
// for English
//
define( 'SAVE_AS_MBSTR' , 'UTF-8' ); // In case of multi-byte filename ( SJIS, EUC-JP, etc... )
define("_FILEUP_TITLE", "Upload File :"); // File up title for your language
define("_FILEUP_USAGE","<br />The upload file name is clear when you pushed preview."); // Add Message about post
define("_FILEUP_ERROR","You must signup before download."); // Error message when reject guest download /*
// Max upload file size
// If you want set upper 2M, You must change php.ini
// memory_limit = 8M (default)
// post_max_size = 8M (default)
// upload_max_filesize =2M (default)
$maxfilesize = 2000000; // 2MB for News
// Acceptable MIME Content-Type
$subtype = "wav|gif|jpe?g|png|bmp|zip|lzh|pdf|excel|powerpoint|octet-stream|x-pmd|x-mld|x-mid|x-smd|x-smaf|x-mpeg";
// embedding image MIME Content-Type
$imgtype = "gif|jpe?g|png|bmp|x-pmd|x-mld|x-mid|x-smd|x-smaf|x-mpeg";
// Reject Ext. name
$viri = "cgi|php|jsp|pl|htm";