diff options
author | Nicolas BERNSTEIN <alexis211@gmail.com> | 2011-09-17 16:48:29 +0200 |
---|---|---|
committer | Nicolas BERNSTEIN <alexis211@gmail.com> | 2011-09-17 16:48:29 +0200 |
commit | d0060968b77c39bdf8abffb071c971c166b59edb (patch) | |
tree | 0be52e00a25bd298235a0cf916fb07496d3ab95f /lib/conf | |
download | Bits-d0060968b77c39bdf8abffb071c971c166b59edb.tar.gz Bits-d0060968b77c39bdf8abffb071c971c166b59edb.zip |
First commit.
Diffstat (limited to 'lib/conf')
-rw-r--r-- | lib/conf/apps.php | 21 | ||||
-rw-r--r-- | lib/conf/image.php | 7 | ||||
-rw-r--r-- | lib/conf/login.php | 6 | ||||
-rw-r--r-- | lib/conf/sql.php.template | 7 |
4 files changed, 41 insertions, 0 deletions
diff --git a/lib/conf/apps.php b/lib/conf/apps.php new file mode 100644 index 0000000..fc714ca --- /dev/null +++ b/lib/conf/apps.php @@ -0,0 +1,21 @@ +<?php + +$homepage = "notes"; + +$apps = array( + "image" => array( + "index" => 1, + "delete" => 1, + "upload" => 0), + "account" => array( + "new" => 0), + "notes" => array( + "index" => 0, + "user" => 0, + "view" => 0, + "new" => 1, + "edit" => 1, + "delete" => 1, + "move" => 1, + "source" => 0), + ); diff --git a/lib/conf/image.php b/lib/conf/image.php new file mode 100644 index 0000000..8fd48ec --- /dev/null +++ b/lib/conf/image.php @@ -0,0 +1,7 @@ +<?php + +$baseurl = "http://localhost/alex.auvolat/images/"; +$savedir = getcwd() . "/images/"; +$miniature_width = 127; +$quota = ceil((time() - 1220000000) / (3600 * 24 * 20)); +$min_priv_for_no_quota = 2; diff --git a/lib/conf/login.php b/lib/conf/login.php new file mode 100644 index 0000000..423fbd3 --- /dev/null +++ b/lib/conf/login.php @@ -0,0 +1,6 @@ +<?php + +$session_name = "AA.free.fr"; + +//Default privilege required for accessing any page +if (!isset($priv_required)) $priv_required = 0; diff --git a/lib/conf/sql.php.template b/lib/conf/sql.php.template new file mode 100644 index 0000000..db3de8a --- /dev/null +++ b/lib/conf/sql.php.template @@ -0,0 +1,7 @@ +<?php + +$sql_server = ""; // fill this in acording to your server info +$sql_user = ""; +$sql_password = ""; +$sql_database = ""; +$sql_min_priv_for_debug = 2; |