From 9a3c5aec66e45c792b8cbe73c3b69ae524120dc1 Mon Sep 17 00:00:00 2001 From: alangrafu <alvaro@graves.cl> Date: Mon, 16 Jan 2012 11:10:59 -0800 Subject: [PATCH] Removing "if" that produces wrong URL --- install.sh | 7 +++---- settings.inc.php.1326740890 | 22 ++++++++++++++++++++++ 2 files changed, 25 insertions(+), 4 deletions(-) create mode 100644 settings.inc.php.1326740890 diff --git a/install.sh b/install.sh index 71ec558c..b03bd452 100755 --- a/install.sh +++ b/install.sh @@ -27,14 +27,13 @@ while [ "$everything_ok" != "y" ]; do echo echo "LODSPeaKr needs to know three (3) URIs to minimally configure itself:" echo - echo "(1/3) At what URL will `pwd` be available? (e.g. http://localhost/$parent/$home/)" + echo "(1/3) At what URL will `pwd` be available? (e.g. http://localhost/$parent/)" + echo "**Note** DO NOT include 'lodspeakr/' in the URL" echo -n "(default '$basedir'): " read -u 1 aux_basedir echo aux_basedir="`echo $aux_basedir | sed 's/\/$//'`/" # remove any ending slash and append one. - if [ "$aux_basedir" != "/" ]; then - basedir=`dirname $aux_basedir | sed 's/\/$//'`/ - fi + basedir=$aux_basedir ns=$basedir echo "(2/3) What local namespace you will use?" diff --git a/settings.inc.php.1326740890 b/settings.inc.php.1326740890 new file mode 100644 index 00000000..6bf48fe8 --- /dev/null +++ b/settings.inc.php.1326740890 @@ -0,0 +1,22 @@ +<? + +$conf['endpoint']['local'] = 'http://localhost/db/endpoint.php'; +$conf['home'] = '/Users/alvarograves/github/lodspeakr/'; +$conf['basedir'] = 'http://localhost/lodspeakr/'; +//$conf['debug'] = true; +$conf['mirror_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'] = 'http://localhost/lodspeakr/'; + +$conf['types']['priorities']['local:AnotherClass'] = 10; +$conf['types']['priorities']['local:AsDAsd'] = 2; + +?> -- GitLab