diff options
Diffstat (limited to 'www/www-header.php')
-rw-r--r-- | www/www-header.php | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/www/www-header.php b/www/www-header.php new file mode 100644 index 0000000..cc5a5ae --- /dev/null +++ b/www/www-header.php @@ -0,0 +1,25 @@ +<?php +/** + * Base file that every file in www/ should include. + * Loads all other SemanticScuttle files. + * + * SemanticScuttle - your social bookmark manager. + * + * PHP version 5. + * + * @category Bookmarking + * @package SemanticScuttle + * @author Benjamin Huynh-Kim-Bang <mensonge@users.sourceforge.net> + * @author Christian Weiske <cweiske@cweiske.de> + * @author Eric Dane <ericdane@users.sourceforge.net> + * @license GPL http://www.gnu.org/licenses/gpl.html + * @link http://sourceforge.net/projects/semanticscuttle + */ +if ('@data_dir@' == '@' . 'data_dir@') { + //non pear-install + require_once dirname(__FILE__) . '/../src/SemanticScuttle/header.php'; +} else { + //pear installation; files are in include path + require_once 'SemanticScuttle/header.php'; +} +?>
\ No newline at end of file |