From 01af7d355a0dfdf19db7acf3b5b06b683c58531e Mon Sep 17 00:00:00 2001 From: Fabio Comuni Date: Fri, 30 Mar 2012 21:18:25 +0200 Subject: allow themes to use "style.php" instead of "style.css". Load style.php trhu mod/view.php to pass it friendica framework. --- mod/view.php | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 mod/view.php (limited to 'mod') diff --git a/mod/view.php b/mod/view.php new file mode 100644 index 000000000..33aa23f44 --- /dev/null +++ b/mod/view.php @@ -0,0 +1,16 @@ +argc == 4){ + $theme = $a->argv[2]; + $THEMEPATH = "view/theme/$theme"; + require_once("view/theme/$theme/style.php"); + } + + killme(); +} -- cgit v1.2.3