forked from sunny/edith
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.example.php
32 lines (23 loc) · 1017 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
27
28
29
30
31
<?php
/**
* Edith configuration
*/
// Root URL to your application, with no trailing slash.
# define('EDITH_URI', '/edith');
define('EDITH_URI', '');
// Path to the folder where you want to save the txt files.
// It needs to be readeable and writeable by the server.
# define('EDITH_DATA_PATH', 'data');
// 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', '#^/?([^/]+?)(?:/(.+))?/?$#');
// Extension of files living in the data directory
# define('EDITH_DATA_EXTENSION', '.txt');
/*
* To handle concurrent access, you can enable Google Mobwrite by using the lines below.
* Read more about Google Mobwrite: http://code.google.com/p/google-mobwrite/
*/
// Choose a unique identifier for your application so that Mobwrite can identify all your pages.
# define('MOBWRITE_KEY', 'edith');
// Mobwrite URL
# define('MOBWRITE_URI', 'http://edith-mobwrite.appspot.com');