diff --git a/.gitignore b/.gitignore index 334e9da7e..9ea483ecd 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ !.gitignore +.htaccess data/ test/ sirgle/ diff --git a/adm/boardgroup_list.php b/adm/boardgroup_list.php index 4b735294c..ff14489dd 100644 --- a/adm/boardgroup_list.php +++ b/adm/boardgroup_list.php @@ -101,7 +101,7 @@ $colspan = 11;
이 내용이 제대로 보인다면 보내는 메일 서버에는 이상이 없는것입니다.
'.G5_TIME_YMDHIS.'
이 메일 주소로는 회신되지 않습니다.', 1);
- echo ' ';
+ echo ' ';
echo '다음 '.count($email).'개의 메일 주소로 테스트 메일 발송이 완료되었습니다.';
- echo ' ';
+ echo ' ';
echo '해당 주소로 테스트 메일이 도착했는지 확인해 주십시오. 등록된 상품이 없습니다.결과메세지
';
- echo '';
for ($i=0;$i
';
- echo '
';
echo '만약, 테스트 메일이 오지 않는다면 더 다양한 계정의 메일 주소로 메일을 보내 보십시오.
';
echo '그래도 메일이 하나도 도착하지 않는다면 메일 서버(sendmail server)의 오류일 가능성이 높으니, 웹 서버관리자에게 문의하여 주십시오.
';
- echo '
@@ -727,7 +727,7 @@ if(!isset($default['de_root_index_use'])) {
diff --git a/adm/shop_admin/itemexcelupdate.php b/adm/shop_admin/itemexcelupdate.php
index c64495a3f..796fb461f 100644
--- a/adm/shop_admin/itemexcelupdate.php
+++ b/adm/shop_admin/itemexcelupdate.php
@@ -2,6 +2,10 @@
$sub_menu = '400300';
include_once('./_common.php');
+// 상품이 많을 경우 대비 설정변경
+set_time_limit ( 0 );
+ini_set('memory_limit', '50M');
+
auth_check($auth[$sub_menu], "w");
function only_number($n)
diff --git a/adm/shop_admin/orderform.php b/adm/shop_admin/orderform.php
index 568137a4e..bf22eee2c 100644
--- a/adm/shop_admin/orderform.php
+++ b/adm/shop_admin/orderform.php
@@ -505,11 +505,6 @@ if(!sql_query(" select ad_addr3 from {$g5['g5_shop_order_address_table']} limit
\ No newline at end of file
diff --git a/install/library.check.php b/install/library.check.php
index 96e77ce3f..e1cfe0e06 100644
--- a/install/library.check.php
+++ b/install/library.check.php
@@ -12,6 +12,9 @@ function die_utf8($msg)
if(!extension_loaded('gd') || !function_exists('gd_info'))
die_utf8('GD 라이브러리를 설치하신 후 '.G5_VERSION.' 설치를 진행해 주십시오.');
+if(!extension_loaded('openssl'))
+ die_utf8('openssl 모듈을 설치하신 후 '.G5_VERSION.' 설치를 진행해 주십시오.');
+
// SOAP 모듈체크
if(!extension_loaded('soap') || !class_exists('SOAPClient'))
die_utf8('SOAP 확장모듈을 설치하신 후 '.G5_VERSION.' 설치를 진행해 주십시오.');
diff --git a/lib/common.lib.php b/lib/common.lib.php
index 26a9b6758..b16e8d2df 100644
--- a/lib/common.lib.php
+++ b/lib/common.lib.php
@@ -1662,8 +1662,8 @@ function time_select($time, $name="")
// DEMO 라는 파일이 있으면 데모 화면으로 인식함
function check_demo()
{
- global $g5;
- if (file_exists($g5['path'].'/DEMO'))
+ global $is_admin;
+ if ($is_admin != 'super' && file_exists(G5_PATH.'/DEMO'))
alert('데모 화면에서는 하실(보실) 수 없는 작업입니다.');
}
diff --git a/lib/latest.lib.php b/lib/latest.lib.php
index 6786c4be1..71dad15bc 100644
--- a/lib/latest.lib.php
+++ b/lib/latest.lib.php
@@ -3,7 +3,7 @@ if (!defined('_GNUBOARD_')) exit;
// 최신글 추출
// $cache_time 캐시 갱신시간
-function latest($skin_dir='', $bo_table, $rows=10, $subject_len=40, $cache_time=1)
+function latest($skin_dir='', $bo_table, $rows=10, $subject_len=40, $cache_time=1, $options='')
{
global $g5;
//static $css = array();
diff --git a/lib/thumbnail.lib.php b/lib/thumbnail.lib.php
index caf04acc1..3f71de35a 100644
--- a/lib/thumbnail.lib.php
+++ b/lib/thumbnail.lib.php
@@ -356,7 +356,12 @@ function thumbnail($filename, $source_path, $target_path, $thumb_width, $thumb_h
UnsharpMask($dst, $val[0], $val[1], $val[2]);
}
- imagejpeg($dst, $thumb_file, 90);
+ if(!defined('G5_THUMB_JPG_QUALITY'))
+ $jpg_quality = 90;
+ else
+ $jpg_quality = G5_THUMB_JPG_QUALITY;
+
+ imagejpeg($dst, $thumb_file, $jpg_quality);
chmod($thumb_file, G5_FILE_PERMISSION); // 추후 삭제를 위하여 파일모드 변경
imagedestroy($src);
diff --git a/mobile/index.php b/mobile/index.php
index 2359ac1ee..514a3223e 100644
--- a/mobile/index.php
+++ b/mobile/index.php
@@ -7,7 +7,7 @@ include_once(G5_MOBILE_PATH.'/_head.php');
'pc' order by gr_id, bo_table ";
+$sql = " select bo_table from `{$g5['board_table']}` a left join `{$g5['group_table']}` b on (a.gr_id=b.gr_id) where a.bo_device <> 'pc' order by b.gr_order, a.bo_order ";
$result = sql_query($sql);
for ($i=0; $row=sql_fetch_array($result); $i++) {
// 이 함수가 바로 최신글을 추출하는 역할을 합니다.
diff --git a/mobile/skin/board/basic/write.skin.php b/mobile/skin/board/basic/write.skin.php
index 74115f47b..5a4184b95 100644
--- a/mobile/skin/board/basic/write.skin.php
+++ b/mobile/skin/board/basic/write.skin.php
@@ -157,7 +157,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
-
+
css}\">\n";
+ } else {
+ echo "
\n";
+ }
+ }
+
+ echo "
\n";
+
+if($i == 1) echo "".display_price($row['it_cust_price'])."\n";
+ }
+
+ if ($this->view_it_price) {
+ echo display_price(get_price($row), $row['it_tel_inq'])."\n";
+ }
+
+ echo "