“更新”
parent
72db4c0ac0
commit
2718cedcfb
|
@ -331,7 +331,7 @@ function setConfigResponse($response)
|
||||||
return $response;
|
return $response;
|
||||||
}
|
}
|
||||||
|
|
||||||
function OnekeyUpate($auth = 'qkqpttgf', $project = 'OneManager-php', $branch = 'master')
|
function OnekeyUpate($auth = 'ldxw', $project = 'OneManager-php', $branch = 'master')
|
||||||
{
|
{
|
||||||
$source = '/tmp/code.zip';
|
$source = '/tmp/code.zip';
|
||||||
$outPath = '/tmp/';
|
$outPath = '/tmp/';
|
||||||
|
|
|
@ -247,9 +247,9 @@ function_name:' . $_SERVER['function_name'] . '<br>
|
||||||
<button onclick="location.href = location.href;">'.getconstStr('Refresh').'</button>';
|
<button onclick="location.href = location.href;">'.getconstStr('Refresh').'</button>';
|
||||||
}
|
}
|
||||||
|
|
||||||
function OnekeyUpate($auth = 'qkqpttgf', $project = 'OneManager-php', $branch = 'master')
|
function OnekeyUpate($auth = 'ldxw', $project = 'OneManager-php', $branch = 'master')
|
||||||
{
|
{
|
||||||
//'https://github.com/qkqpttgf/OneManager-php/tarball/master/';
|
//'https://github.com/ldxw/OneManager-php/tarball/master/';
|
||||||
$source = 'https://github.com/' . $auth . '/' . $project . '/tarball/' . $branch . '/';
|
$source = 'https://github.com/' . $auth . '/' . $project . '/tarball/' . $branch . '/';
|
||||||
return json_decode(updateHerokuapp(getConfig('function_name'), getConfig('APIKey'), $source)['body'], true);
|
return json_decode(updateHerokuapp(getConfig('function_name'), getConfig('APIKey'), $source)['body'], true);
|
||||||
}
|
}
|
||||||
|
|
|
@ -257,7 +257,7 @@ function setConfigResponse($response)
|
||||||
return $response;
|
return $response;
|
||||||
}
|
}
|
||||||
|
|
||||||
function OnekeyUpate($auth = 'qkqpttgf', $project = 'OneManager-php', $branch = 'master')
|
function OnekeyUpate($auth = 'ldxw', $project = 'OneManager-php', $branch = 'master')
|
||||||
{
|
{
|
||||||
// __DIR__ is xxx/platform
|
// __DIR__ is xxx/platform
|
||||||
$projectPath = splitlast(__DIR__, '/')[0];
|
$projectPath = splitlast(__DIR__, '/')[0];
|
||||||
|
|
|
@ -418,7 +418,7 @@ namespace:' . $_SERVER['namespace'] . '<br>
|
||||||
<button onclick="location.href = location.href;">'.getconstStr('Refresh').'</button>';
|
<button onclick="location.href = location.href;">'.getconstStr('Refresh').'</button>';
|
||||||
}
|
}
|
||||||
|
|
||||||
function OnekeyUpate($auth = 'qkqpttgf', $project = 'OneManager-php', $branch = 'master')
|
function OnekeyUpate($auth = 'ldxw', $project = 'OneManager-php', $branch = 'master')
|
||||||
{
|
{
|
||||||
$source['url'] = 'https://github.com/' . $auth . '/' . $project;
|
$source['url'] = 'https://github.com/' . $auth . '/' . $project;
|
||||||
$source['branch'] = $branch;
|
$source['branch'] = $branch;
|
||||||
|
|
|
@ -21,8 +21,8 @@
|
||||||
<meta name=viewport content="width=device-width,initial-scale=1">
|
<meta name=viewport content="width=device-width,initial-scale=1">
|
||||||
<meta name="keywords" content="<!--Keywords-->">
|
<meta name="keywords" content="<!--Keywords-->">
|
||||||
<meta name="description" content="<!--Description-->">
|
<meta name="description" content="<!--Description-->">
|
||||||
<link rel="icon" href="<!--base_path-->favicon.ico" type="image/x-icon" />
|
<link rel="icon" href="https://cdn.jsdelivr.net/gh/ldxw/CDN@0.003/favicon/64x64/favicon.ico" type="image/x-icon" />
|
||||||
<link rel="shortcut icon" href="<!--base_path-->favicon.ico" type="image/x-icon" />
|
<link rel="shortcut icon" href="https://cdn.jsdelivr.net/gh/ldxw/CDN@0.003/favicon/64x64/favicon.ico" type="image/x-icon" />
|
||||||
<link href="//cdn.bootcdn.net/ajax/libs/twitter-bootstrap/4.5.0/css/bootstrap.min.css" rel="stylesheet">
|
<link href="//cdn.bootcdn.net/ajax/libs/twitter-bootstrap/4.5.0/css/bootstrap.min.css" rel="stylesheet">
|
||||||
<script src="//cdn.bootcdn.net/ajax/libs/jquery/2.0.2/jquery.min.js"></script>
|
<script src="//cdn.bootcdn.net/ajax/libs/jquery/2.0.2/jquery.min.js"></script>
|
||||||
|
|
||||||
|
|
|
@ -12,8 +12,8 @@
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0,maximum-scale=1.0, user-scalable=no"/>
|
<meta name="viewport" content="width=device-width, initial-scale=1.0,maximum-scale=1.0, user-scalable=no"/>
|
||||||
<title><!--Title--></title>
|
<title><!--Title--></title>
|
||||||
<link rel="icon" href="<!--base_path-->favicon.ico" type="image/x-icon">
|
<link rel="icon" href="https://cdn.jsdelivr.net/gh/ldxw/CDN@0.003/favicon/64x64/favicon.ico" type="image/x-icon">
|
||||||
<link rel="shortcut icon" href="<!--base_path-->favicon.ico" type="image/x-icon">
|
<link rel="shortcut icon" href="https://cdn.jsdelivr.net/gh/ldxw/CDN@0.003/favicon/64x64/favicon.ico" type="image/x-icon">
|
||||||
<link rel="stylesheet" href="//cdnjs.loli.net/ajax/libs/mdui/0.4.1/css/mdui.css">
|
<link rel="stylesheet" href="//cdnjs.loli.net/ajax/libs/mdui/0.4.1/css/mdui.css">
|
||||||
<style>
|
<style>
|
||||||
body{background-color:#f2f5fa;padding-bottom:60px;<!--BackgroundStart-->background-position:center bottom;background-repeat:no-repeat;background-size:cover;background-attachment:fixed;background-image:url("<!--BackgroundUrl-->");<!--BackgroundEnd-->}
|
body{background-color:#f2f5fa;padding-bottom:60px;<!--BackgroundStart-->background-position:center bottom;background-repeat:no-repeat;background-size:cover;background-attachment:fixed;background-image:url("<!--BackgroundUrl-->");<!--BackgroundEnd-->}
|
||||||
|
|
|
@ -18,8 +18,8 @@
|
||||||
<script src="//cdn.staticfile.org/layer/2.3/layer.js"></script>
|
<script src="//cdn.staticfile.org/layer/2.3/layer.js"></script>
|
||||||
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/glightbox/dist/css/glightbox.min.css">
|
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/glightbox/dist/css/glightbox.min.css">
|
||||||
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/aplayer/dist/APlayer.min.css">
|
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/aplayer/dist/APlayer.min.css">
|
||||||
<link rel="icon" href="<!--base_path-->favicon.ico" type="image/x-icon">
|
<link rel="icon" href="https://cdn.jsdelivr.net/gh/ldxw/CDN@0.003/favicon/64x64/favicon.ico" type="image/x-icon">
|
||||||
<link rel="shortcut icon" href="<!--base_path-->favicon.ico" type="image/x-icon">
|
<link rel="shortcut icon" href="https://cdn.jsdelivr.net/gh/ldxw/CDN@0.003/favicon/64x64/favicon.ico" type="image/x-icon">
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
body{<!--BackgroundStart-->background-repeat:no-repeat;background-size:cover;background-attachment:fixed;background-image:url("<!--BackgroundUrl-->");<!--BackgroundEnd-->}
|
body{<!--BackgroundStart-->background-repeat:no-repeat;background-size:cover;background-attachment:fixed;background-image:url("<!--BackgroundUrl-->");<!--BackgroundEnd-->}
|
||||||
|
|
|
@ -24,8 +24,8 @@
|
||||||
<script src="//cdn.staticfile.org/layer/2.3/layer.js"></script>
|
<script src="//cdn.staticfile.org/layer/2.3/layer.js"></script>
|
||||||
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/glightbox/dist/css/glightbox.min.css">
|
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/glightbox/dist/css/glightbox.min.css">
|
||||||
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/aplayer/dist/APlayer.min.css">
|
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/aplayer/dist/APlayer.min.css">
|
||||||
<link rel="icon" href="<!--base_path-->favicon.ico" type="image/x-icon">
|
<link rel="icon" href="https://cdn.jsdelivr.net/gh/ldxw/CDN@0.003/favicon/64x64/favicon.ico" type="image/x-icon">
|
||||||
<link rel="shortcut icon" href="<!--base_path-->favicon.ico" type="image/x-icon">
|
<link rel="shortcut icon" href="https://cdn.jsdelivr.net/gh/ldxw/CDN@0.003/favicon/64x64/favicon.ico" type="image/x-icon">
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
body{
|
body{
|
||||||
|
|
Loading…
Reference in New Issue