Commit 24eb0b15 authored by platyhouse's avatar platyhouse

.

parent 08ad80d3
...@@ -3,16 +3,16 @@ ...@@ -3,16 +3,16 @@
</script> </script>
<?php <?php
$newAppVer = "1.10.0"; $newAppVer = "1.11.0";
{ {
require_once(PLATYFRAMEWORK_SYSTEMDIR . "/platyLibrary/external/simpleHtmlDom/simple_html_dom.php"); require_once(PLATYFRAMEWORK_SYSTEMDIR . "/platyLibrary/external/simpleHtmlDom/simple_html_dom.php");
$package_name = $this->config->mobileapp->packageName; $package_name = $this->config->mobileapp->packageName;
$fileName = "/tmp/play_google_com_store_".$package_name; $fileName = "/tmp/play_google_com_store_".$package_name;
// 파일이 없거나 1시간이 지났다면 다시 읽기 // 파일이 없거나 3시간이 지났다면 다시 읽기
$filemtime = filemtime($fileName); $filemtime = filemtime($fileName);
if (!file_exists($fileName) || $filemtime < time() - (60 * 60)) { if (!file_exists($fileName) || $filemtime < time() - (60 * 60 * 3)) {
$content = @file_get_contents('https://play.google.com/store/apps/details?id=' . $package_name); $content = file_get_contents('https://play.google.com/store/apps/details?id=' . $package_name);
file_put_contents($fileName, $content); file_put_contents($fileName, $content);
} }
else else
...@@ -70,11 +70,12 @@ $newAppVer = "1.10.0"; ...@@ -70,11 +70,12 @@ $newAppVer = "1.10.0";
$appVersion = trim($data['version'][0]); $appVersion = trim($data['version'][0]);
*/ */
if ($newAppVer > $appVersion) if (version_compare($newAppVer, $appVersion) > 0)
{ {
$needUpdate = true; $needUpdate = true;
} }
} }
} }
?> ?>
...@@ -83,7 +84,7 @@ $newAppVer = "1.10.0"; ...@@ -83,7 +84,7 @@ $newAppVer = "1.10.0";
<div class="animated flash alert alert-info alert-dismissible"> <div class="animated flash alert alert-info alert-dismissible">
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button> <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
<h4><i class="icon fa fa-bell"></i> 앱 업데이트 안내 - v<?=$newAppVer?></h4> <h4><i class="icon fa fa-bell"></i> 앱 업데이트 안내 - v<?=$newAppVer?></h4>
새로운 버전이 출시되었습니다. <a href="/admin/support/notice/item/?id=9">이동</a> 하여 가이드에 따라 최신 앱을 등록해 주세요<br> 새로운 버전이 출시되었습니다. <a href="/admin/support/notice/item/?id=10">이동</a> 하여 가이드에 따라 최신 앱을 등록해 주세요<br>
관리자페이지 문의 : 010-7539-7017(매니져) 관리자페이지 문의 : 010-7539-7017(매니져)
</div> </div>
<? } ?> <? } ?>
......
...@@ -51,6 +51,7 @@ namespace platyFramework; ...@@ -51,6 +51,7 @@ namespace platyFramework;
</div> </div>
</div> </div>
<?= $form->getSelect("초기화면 이미지 노출 시간 설정", "intro_show_time", array ("0.5초" => 500, "1초" => 1000, "2초" => 2000, "3초" => 3000, "4초" => 4000, "5초" => 5000)); ?>
<?= $form->getFile("Main 화면 타이틀 설정", "mainTitle"); ?> <?= $form->getFile("Main 화면 타이틀 설정", "mainTitle"); ?>
</div> </div>
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
<div class="pull-right hidden-xs"> <div class="pull-right hidden-xs">
<!-- <b>Mail to</b> : cpueblo@platyhouse.com, http://www.platyhouse.com--> <!-- <b>Mail to</b> : cpueblo@platyhouse.com, http://www.platyhouse.com-->
</div> </div>
<strong><a href="http://platyhouse.com/"><?=$this->config->system->appName?> Administrator</a>. 관리자페이지 문의 : 010-7539-7017(매니져). </strong> storyShare PlatyFramework v1.3.3 All rights reserved. <strong><a href="http://platyhouse.com/"><?=$this->config->system->appName?> Administrator</a>. 관리자페이지 문의 : 010-7539-7017(매니져). </strong> storyShare PlatyFramework v1.3.4 All rights reserved.
</footer> </footer>
<div class="modal fade" id="removeDialog"> <div class="modal fade" id="removeDialog">
<div class="modal-dialog"> <div class="modal-dialog">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment