From 0785d137a8e8afa935389ef85d4ca6cc9c7a4bca Mon Sep 17 00:00:00 2001 From: root Date: Wed, 29 Oct 2014 00:57:44 +0100 Subject: CDN support is stable. --- bootstrap.php | 2 +- index.php | 1 + js/eyecancer.js | 7 ++++--- js/eyecancer.min.js | 2 +- js/functions.js | 6 ++++-- static/footer.php | 2 +- 6 files changed, 12 insertions(+), 8 deletions(-) diff --git a/bootstrap.php b/bootstrap.php index bb82db1..12c5caf 100644 --- a/bootstrap.php +++ b/bootstrap.php @@ -22,7 +22,7 @@ if ( ! defined('URI') ) define('URI', '/'); if ( ! defined('DOMAIN') ) define('DOMAIN', SCHEME . HOST . URI); -if ( ! define('CDN') ){ +if ( ! defined('CDN') ){ define('CDN', DOMAIN); } diff --git a/index.php b/index.php index 80d2703..b0d80fd 100644 --- a/index.php +++ b/index.php @@ -46,6 +46,7 @@ if( ! isset($_GET["page"]) || $_GET["page"] == "" ) + " . file_get_contents('static/style.min.css'); ?> diff --git a/js/eyecancer.js b/js/eyecancer.js index c2c2168..e3c3163 100644 --- a/js/eyecancer.js +++ b/js/eyecancer.js @@ -22,6 +22,8 @@ function getRandomPosition(pos){ } function startRandomizer(){ + var cdn = "https://secure.iamfabulous.de"; + $("h1").addClass("random-font"); $("table").addClass("effect-vv"); $("form").addClass("effect-vv"); @@ -30,10 +32,9 @@ function startRandomizer(){ var images = ["flare1.png"]; var imgid = ["fi", "si", "ti", "foi"]; for ( var i = 0; i