Update and rename heroku.php to Heroku.php
parent
bd2bb41576
commit
f837f0485a
|
@ -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 = 'ldxw', $project = 'OneManager-php', $branch = 'master')
|
function OnekeyUpate($auth = 'qkqpttgf', $project = 'OneManager-php', $branch = 'master')
|
||||||
{
|
{
|
||||||
//'https://github.com/ldxw/OneManager-php/tarball/master/';
|
//'https://github.com/qkqpttgf/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);
|
||||||
}
|
}
|
Loading…
Reference in New Issue