From dd0b341b643d68d92c4b23fc8188e16110c3c1ab Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Tue, 10 Jun 2008 14:52:38 -0400 Subject: first steps towards new skin darcs-hash:20080610185238-84dde-c073065f5f802be39b97a23105613fac1eeb0bea.gz --- lib/theme.php | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 lib/theme.php (limited to 'lib/theme.php') diff --git a/lib/theme.php b/lib/theme.php new file mode 100644 index 000000000..d1e82596e --- /dev/null +++ b/lib/theme.php @@ -0,0 +1,30 @@ +. + */ + +if (!defined('LACONICA')) { exit(1); } + +function theme_file($relative) { + global $config; + return INSTALLDIR.'/theme/'.$config['site']['theme'].'/'.$relative; +} + +function theme_path($relative) { + global $config; + return common_path('theme/'.$config['site']['theme'].'/'.$relative); +} \ No newline at end of file -- cgit v1.2.3-54-g00ecf