:::

9-6-2 修改 xoops_version.php 的版號及發布日期

您沒有觀看影片的權限

您沒有觀看影片的權限

請先登入,登入後,確認您的權限後,即可觀看影片。

  1. xoops_version.php 的版號 $modversion['version'] 相當重要,是XOOPS用來判斷是否需要更新的依據
    <?php
    $modversion = [];
    
    //---模組基本資訊---//
    $modversion['name'] = _MI_TAD_SIGNUP_NAME;
    $modversion['version'] = 1.00;
    $modversion['description'] = _MI_TAD_SIGNUP_DESCRIPTION;
    $modversion['author'] = 'Tad';
    $modversion['credits'] = '';
    $modversion['help'] = 'page=help';
    $modversion['license'] = 'GNU GPL 2.0';
    $modversion['license_url'] = 'www.gnu.org/licenses/gpl-2.0.html/';
    $modversion['image'] = 'images/logo.png';
    $modversion['dirname'] = basename(dirname(__FILE__));
    
    //---模組狀態資訊---//
    $modversion['release_date'] = '2021-08-15';
    $modversion['module_website_url'] = 'https://github.com/tad0616/tad_signup';
    $modversion['module_website_name'] = 'Tad Signup GitHub';
    $modversion['module_status'] = 'release';
    $modversion['author_website_url'] = 'https://tad0616.net';
    $modversion['author_website_name'] = _MI_TAD_SIGNUP_AUTHOR_WEBSITE_NAME;
    $modversion['min_php'] = 5.4;
    $modversion['min_xoops'] = '2.5';

     

  2. 日後有更新版本一樣記得要修改 $modversion['version'] 版號及 $modversion['release_date'] 發布日期

link to https://github.com/tadlearn/tad_signup/commit/d41be074ddfc7e553fb01c5bcad55f43354df643 \


:::

搜尋

QR Code 區塊

https%3A%2F%2Ftad0616.cp27.secserverpros.com%2Fmodules%2Ftad_book3%2Fpage.php%3Ftbdsn%3D1831%26tbsn%3D48

書籍目錄

展開 | 闔起

線上使用者

348人線上 (137人在瀏覽線上書籍)

會員: 0

訪客: 348

更多…