diff options
author | Christian Weiske <cweiske@cweiske.de> | 2011-05-24 18:21:54 +0200 |
---|---|---|
committer | Christian Weiske <cweiske@cweiske.de> | 2011-05-24 18:21:54 +0200 |
commit | e01c813101f2811879acfe808c4573b924f7b666 (patch) | |
tree | d2697e37411451b6e8f3410e0bb855380653f66f /src/SemanticScuttle/header.php | |
parent | 85d201b0ad0cc0a4827f024b1fd14bc311868e4c (diff) | |
download | semanticscuttle-e01c813101f2811879acfe808c4573b924f7b666.tar.gz semanticscuttle-e01c813101f2811879acfe808c4573b924f7b666.tar.bz2 |
introduce theme model and use it in jsscuttle. rest will follow
Diffstat (limited to 'src/SemanticScuttle/header.php')
-rw-r--r-- | src/SemanticScuttle/header.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/SemanticScuttle/header.php b/src/SemanticScuttle/header.php index 098e5c3..6c0d4df 100644 --- a/src/SemanticScuttle/header.php +++ b/src/SemanticScuttle/header.php @@ -18,9 +18,12 @@ if ('@data_dir@' == '@' . 'data_dir@') { //non pear-install $datadir = dirname(__FILE__) . '/../../data/'; + $wwwdir = dirname(__FILE__) . '/../../www/'; } else { //pear installation; files are in include path $datadir = '@data_dir@/SemanticScuttle/'; + //FIXME: when you have multiple installations, the www_dir will be wrong + $wwwdir = '@www_dir@/SemanticScuttle/'; } if (!file_exists($datadir . '/config.php')) { |