Skip to content
Snippets Groups Projects
Commit 4584e09a authored by alangrafu's avatar alangrafu
Browse files

Adding export as default option

parent 652e2858
No related branches found
No related tags found
No related merge requests found
......@@ -45,7 +45,7 @@ if(file_exists($conf['static']['directory'].$_GET['q']) && sizeof($_GET['q'])>0)
echo file_get_contents($conf['static']['directory'].$_GET['q']);
exit(0);
}
if($_GET['q'] == 'export'){
if($conf['export'] && $_GET['q'] == 'export'){
include_once('settings.inc.php');
include_once('classes/Exporter.php');
$exp = new Exporter();
......
......@@ -83,6 +83,13 @@ LODSPEAKR_HOME=`pwd`/
\$conf['debug'] = false;
\$conf['use_external_uris'] = false;
/*ATTENTION: By default this application is available to
* be exported and copied (its configuration)
* by others. If you do not want that,
* turn the next option as false
*/
\$conf['export'] = true;
#If you want to add/overrid a namespace, add it here
\$conf['ns']['local'] = '$ns';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment