From: matipl Date: Thu, 17 Mar 2005 19:24:01 +0000 (+0000) Subject: - files for bbclone.spec X-Git-Url: https://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;ds=sidebyside;h=626eb44014ca4fc08eee309ef5a91b45a868cb9d;p=packages%2Fbbclone.git - files for bbclone.spec Changed files: bbclone-security.patch -> 1.1 bbclone.conf -> 1.1 bbclone.txt -> 1.1 --- 626eb44014ca4fc08eee309ef5a91b45a868cb9d diff --git a/bbclone-security.patch b/bbclone-security.patch new file mode 100644 index 0000000..089a75c --- /dev/null +++ b/bbclone-security.patch @@ -0,0 +1,11 @@ +--- bbclone/conf/config.php 2005-03-13 18:33:01.000000000 +0100 ++++ bbclone/conf/config.new 2005-03-17 19:36:29.761977136 +0100 +@@ -37,7 +37,7 @@ + // Syntax: + // $BBC_SHOW_CONFIG = 1; => Display show_config.php (default) + // $BBC_SHOW_CONFIG = ""; => Don't display show_config.php +-$BBC_SHOW_CONFIG = 1; ++$BBC_SHOW_CONFIG = ""; + + // The title being displayed in the navigation bar of all bbclone pages. + // The following macros are recognised: diff --git a/bbclone.conf b/bbclone.conf new file mode 100644 index 0000000..076d6d6 --- /dev/null +++ b/bbclone.conf @@ -0,0 +1,31 @@ +# +# File: bbclone.conf +# +# This is the BBClone configuration file; it is included from +# the Apache httpd.conf file. +# + + + Alias /bbclone /usr/share/bbclone + + + + + order deny,allow + deny from all + + + order deny,allow + deny from all + + + order deny,allow + deny from all + + + order deny,allow + deny from all + + + +# vim: filetype=apache ts=4 sw=4 et diff --git a/bbclone.txt b/bbclone.txt new file mode 100644 index 0000000..54f6367 --- /dev/null +++ b/bbclone.txt @@ -0,0 +1,29 @@ +Simple example +---------------- + +You must add to top of your files: + + +where $title is uniqued name for pages + +We can use "access.php" as regular inclusion for other documents as well, +if we specify the path to it. The following example demostrates, +how we could display the total amount of visits: + +"; +echo "Visitors Today  ".$visitorstoday."
"; +?>