diff --git a/.htaccess b/.htaccess index df6ee17..9b4bb5e 100644 --- a/.htaccess +++ b/.htaccess @@ -8,10 +8,10 @@ RewriteRule ^(content|system)/ error404 [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^robots.txt$ system/config/robots.txt [L] RewriteCond %{REQUEST_FILENAME} !-f -RewriteCond %{REQUEST_URI} \.(css|js|png)$ +RewriteCond %{REQUEST_URI} \.(css|js|png|woff)$ RewriteRule ^media/plugins/(core-.+) system/core/$1 [L] RewriteCond %{REQUEST_FILENAME} !-f -RewriteCond %{REQUEST_URI} \.(css|js|png)$ +RewriteCond %{REQUEST_URI} \.(css|js|png|woff)$ RewriteRule ^media/plugins/(.+) system/plugins/$1 [L] RewriteCond yellow.php -F diff --git a/README.md b/README.md index ecf7bdb..e2f2212 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -Yellow 0.3.4 +Yellow 0.3.5 ============ Yellow is for people who make websites. diff --git a/system/core/core.php b/system/core/core.php index bfed6e6..7c04c09 100755 --- a/system/core/core.php +++ b/system/core/core.php @@ -5,7 +5,7 @@ // Yellow main class class Yellow { - const Version = "0.3.4"; + const Version = "0.3.5"; var $page; //current page var $pages; //pages from file system var $config; //configuration