admin/controller/tool/upgrade.php
(开头部分) 15KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<?php
/*
Installed versionh
current version
latest version
Preparation
1. Check compatibility of extensions with the latest version
Backup
2. Download a copy of the current version
3. Scan files to confirm what changes have been made to the installed version and the current
4. Let the user download the copies of all the modified files
5. database
6. image
Upgrade
5. Download a copy of the latest version
6. Scan files to confirm what changes have been made between the current version and latest
6. Alert the user to any modified files that have not be updated
7. Allow the user to download the changed files.
8. Replace the files
*/
class ControllerToolUpgrade extends Controller {
public function index() {
$this->load->language('tool/upgrade');
$this->document->setTitle($this->language->get('heading_title'));
$data['breadcrumbs'] = array();
$data['breadcrumbs'][] = array(
'text' => $this->language->get('text_home'),
'href' => $this->url->link('common/dashboard', 'user_token=' . $this->session->data['user_token'])
);
$data['breadcrumbs'][] = array(
'text' => $this->language->get('heading_title'),
'href' => $this->url->link('tool/upgrade', 'user_token=' . $this->session->data['user_token'])
);
$data['user_token'] = $this->session->data['user_token'];
$data['version'] = VERSION;
$data['upgrade'] = false;
$request_data['extension'] = array();
后面还有 528 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
