From 89c353dd07d6f33279877fb49108d6a86a26addb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Lucas?= Date: Wed, 17 Apr 2013 13:42:23 +0200 Subject: [PATCH] Add a config item to use local resources instead of CDN hosted resources. --- config_default.php | 8 ++++++++ index.php | 4 ++++ 2 files changed, 12 insertions(+) diff --git a/config_default.php b/config_default.php index dff7908..e8dabb7 100644 --- a/config_default.php +++ b/config_default.php @@ -166,4 +166,12 @@ * 0 : No */ $config['cops_provide_kepub'] = "0"; + + /* + * Use local JS resources instead if external resources hosted on CDN + * 1 : Yes (enable) + * 0 : No + */ + $config['cops_use_local_resources'] = "0"; + ?> \ No newline at end of file diff --git a/index.php b/index.php index fd4d835..cddfaf1 100644 --- a/index.php +++ b/index.php @@ -54,7 +54,11 @@ <?php echo htmlspecialchars ($currentPage->title) ?> + + + +