From 1f7ae5122e244f3582d5ba53df4dd1ad62fd7f56 Mon Sep 17 00:00:00 2001 From: Tom Slominski Date: Sun, 24 Jul 2016 13:02:49 +0100 Subject: [PATCH] Dependency fixes. --- footer.php | 2 ++ result.php | 11 +++++------ 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/footer.php b/footer.php index caeac73..94a4e8b 100644 --- a/footer.php +++ b/footer.php @@ -18,6 +18,8 @@ + + diff --git a/result.php b/result.php index bd02406..addaaf8 100644 --- a/result.php +++ b/result.php @@ -1,12 +1,6 @@ '; echo '

' . $message . '

'; @@ -84,6 +78,11 @@ $status = isset( $return['status'] ) ? $return['status'] : ''; $encoded_shorturl = urlencode($shorturl); $encoded_title = urlencode($title); +// Add dependencies +if ( ISQ::$general['clipboard'] ) { + $dependencies[] = 'ZeroClipboard'; +}; + ?>