Update and rename source/NerdPack/usr/local/emhttp/plugins/NerdPack/include/PackageQuery.php to source/SlackPack/usr/local/emhttp/plugins/SlackPack/include/PackageQuery.php
This commit is contained in:
parent
7128bf37a0
commit
b6d04edbb1
|
@ -1,6 +1,6 @@
|
||||||
<?
|
<?
|
||||||
require_once '/usr/local/emhttp/plugins/NerdPack/include/SlackPackHelpers.php';
|
require_once '/usr/local/emhttp/plugins/SlackPack/include/SlackPackHelpers.php';
|
||||||
require_once '/usr/local/emhttp/plugins/NerdPack/include/DownloadHelpers.php';
|
require_once '/usr/local/emhttp/plugins/SlackPack/include/DownloadHelpers.php';
|
||||||
|
|
||||||
// Only download repo update if the current one is 1 hour old or more
|
// Only download repo update if the current one is 1 hour old or more
|
||||||
if (!file_exists($repo_file) || !empty($_GET['force']) || (filemtime($repo_file) < (time() - 3600))) {
|
if (!file_exists($repo_file) || !empty($_GET['force']) || (filemtime($repo_file) < (time() - 3600))) {
|
Loading…
Reference in New Issue
Block a user