forked from sunny/edith
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.example.php
26 lines (20 loc) · 924 Bytes
/
config.example.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<?php
/**
* Edith configuration
*/
// root uri to your application
define('EDITH_URI', '/edith');
// path to the folder which will keep text files of all pages
// (needs to be read and writeable by the server)
define('EDITH_DATA_PATH', 'data');
// to handle concurrent access, the edit box uses Google Mobwrite
// http://code.google.com/p/google-mobwrite/
// Uncomment the configuration lines to enable Mobwrite
// choose a unique identifier for your application so that Mobwrite can
// identify all your pages
# define('MOBWRITE_KEY', 'edith-text');
// to host your own version of Mobwrite, change the following uri
# define('MOBWRITE_URI', 'http://edith-mobwrite.appspot.com/scripts/q.py');
// Regular Expression to distinguish between the page and the extension
// For example if you prefer `/page.js/txt` URIs instead of `/page.js.txt`, use the regexp below:
# define('URI_REGEX', '#^/?([^/]+?)(?:/(.+))?/?$#');