問題描述
我怎麼知道 osCommerce 的版本是什麼? (How can i know what is the release of osCommerce?)
how can i know what is the release of osCommerce? is the release written in any file of the package?
Regards
Javi
‑‑‑‑‑
參考解法
方法 1:
in
includes/application_top.php
there should be something like:
// define the project version
define('PROJECT_VERSION', 'osCommerce 2.2‑MS2');
方法 2:
Oscommerce version is also shown in Admin, using Server Info in Tools. It shows at the top of the server info page....cheers
方法 3:
If you look into 2.3.3 oscommerce version code.
// define the project version ‑‑‑ obsolete, now retrieved with tep_get_version() define('PROJECT_VERSION', 'osCommerce Online Merchant v2.3');
in application_top.php above line states that define('PROJECT_VERSION', 'osCommerce Online Merchant v2.3'); is obsolete
This is what is expected $current_version = tep_get_version();
echo $current_version;
Look into tep_get_version(); code version is actually in DIR_FS_CATALOG . 'includes/version.php'
2.3.3
(by ziiweb、TZHX、Wal、Oscprofessionals)