Source of file _config.php
Size: 1,327 Bytes - Last Modified: 2021-12-23T10:07:55+00:00
/var/www/docs.ssmods.com/process/src/_config.php
12345678910111213141516171819202122232425262728293031323334 | <?php define('SIMPLEWIKI_DIR', dirname(__FILE__)); Director::addRules(100, array( 'ssimplewiki/$Action' => 'WikiPage_Controller' )); if (($SIMPLEWIKI_EDITING_MODULE = basename(dirname(__FILE__))) != 'simplewiki') { die("The SimpleWiki module MUST be in the /simplewiki directory, not $SIMPLEWIKI_EDITING_MODULE"); } //HtmlEditorConfig::get('default')->enablePlugins(array('sslinks' => '../../../simplewiki/javascript/sslinks/editor_plugin_src.js')); HtmlEditorConfig::get('default')->insertButtonsBefore('advcode', 'ss_simplelink', 'unlink', 'ss_simpleimage'); // PERMISSION CONSTANTS // To use these permissions, you MUST grant your wiki editor group the ability // to View draft content as well as the edit wiki pages. define('EDIT_WIKI', 'EDIT_WIKI'); define('MANAGE_WIKI_PAGES', 'MANAGE_WIKI_PAGES'); // Registration of wiki formatters WikiPage::register_formatter(new MarkdownFormatter()); //WikiPage::register_formatter(new HTMLFormatter()); WikiPage::register_formatter(new WikiFormatter()); //WikiPage::register_formatter(new PlainFormatter()); // Example configuration options below /* WikiPage::$show_edit_button = true; // | false - whether public users get an edit link when viewing a wikipage WikiPage::$auto_publish = true; // | false - whether pages are automatically published when saved/created */ |