summaryrefslogtreecommitdiff
path: root/lib/conf
diff options
context:
space:
mode:
Diffstat (limited to 'lib/conf')
-rw-r--r--lib/conf/apps.php21
-rw-r--r--lib/conf/image.php7
-rw-r--r--lib/conf/login.php6
-rw-r--r--lib/conf/sql.php.template7
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;