Skip to content
Snippets Groups Projects
Commit 0886c100 authored by Demian Katz's avatar Demian Katz
Browse files

Moved themes from /themes/vufind/ to just /themes/ -- this simplifies file...

Moved themes from /themes/vufind/ to just /themes/ -- this simplifies file paths and fixes a bug in install.php that generated an invalid Apache configuration.  This increases the risk of conflict with themes from a different module, but using VuFind in combination with other theme-using modules is going to require extra customization anyway; not worth complicating the common use case.
parent 4bac766e
No related merge requests found
Showing
with 5 additions and 5 deletions
# Configuration for theme-specific resources: # Configuration for theme-specific resources:
AliasMatch ^/vufind/themes/([0-9a-zA-Z-_]*)/css/(.*)$ /usr/local/vufind/themes/vufind/$1/css/$2 AliasMatch ^/vufind/themes/([0-9a-zA-Z-_]*)/css/(.*)$ /usr/local/vufind/themes/$1/css/$2
AliasMatch ^/vufind/themes/([0-9a-zA-Z-_]*)/images/(.*)$ /usr/local/vufind/themes/vufind/$1/images/$2 AliasMatch ^/vufind/themes/([0-9a-zA-Z-_]*)/images/(.*)$ /usr/local/vufind/themes/$1/images/$2
AliasMatch ^/vufind/themes/([0-9a-zA-Z-_]*)/js/(.*)$ /usr/local/vufind/themes/vufind/$1/js/$2 AliasMatch ^/vufind/themes/([0-9a-zA-Z-_]*)/js/(.*)$ /usr/local/vufind/themes/$1/js/$2
<Directory ~ "^/usr/local/vufind/themes/vufind/([0-9a-zA-Z-_]*)/(css|images|js)/"> <Directory ~ "^/usr/local/vufind/themes/([0-9a-zA-Z-_]*)/(css|images|js)/">
Order allow,deny Order allow,deny
allow from all allow from all
AllowOverride All AllowOverride All
......
...@@ -46,7 +46,7 @@ class Tools ...@@ -46,7 +46,7 @@ class Tools
*/ */
public static function getBaseDir() public static function getBaseDir()
{ {
return APPLICATION_PATH . '/themes/vufind'; return APPLICATION_PATH . '/themes';
} }
/** /**
......
File moved
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment