forked from CommonAccord/Cmacc-Org
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
33 lines (17 loc) · 1.16 KB
/
index.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
32
33
<?php
DEFINE('ROOT' ,dirname(__FILE__) ); // Root directory of site
DEFINE('URLFORREPO', 'https://github.com/CommonAccord/Cmacc-Org'); // The repo home
DEFINE('LANDING_MD', 'ZZZ/landing.md'); // The repo home
DEFINE('SOURCE_TAB_MESSAGE', 'Source'); // Tab
DEFINE('EDIT_TAB_MESSAGE', 'Edit'); // Tab
DEFINE('COMPLETE_TAB_MESSAGE', 'Edit and Complete'); // Tab
DEFINE('DOC_TAB_MESSAGE', 'Document'); // Tab
DEFINE('PRINT_TAB_MESSAGE', 'Print'); // Tab
DEFINE('LIB_PATH', ROOT . '/vendor/CommonAccord/cmacc/library'); // Create global variable to our library
ini_set('include_path', ini_get('include_path') . PATH_SEPARATOR . LIB_PATH . DIRECTORY_SEPARATOR); // Include it in PHP include/require search
DEFINE('ASSETS_PATH', 'visual'); // Create global variable to our css and js assets
DEFINE('URLFORDOCSINREPO', URLFORREPO . "/blob/master/Doc/"); // Docs in the repo
DEFINE('TEXT_EDIT_WINDOW_SIZE', 'cols=120 rows=30'); //Sets the size of the text edit window in both edit.php and openedit.php
DEFINE('TEXT_EDIT_AREA_STYLE', 'font-size: 16px; padding:10px;'); //Sets the size of the text edit window in both edit.php and openedit.php
include("cmacc_helpers.php");
?>