X-Git-Url: https://dev.renevier.net/gitweb.cgi?a=blobdiff_plain;f=application%2Fconfigs%2Fapplication.ini;h=d80dbb3e004c56e967945350d35c3634e77e14f6;hb=ab930cd8236bfd4da22344e50a1517ce36719ec2;hp=cb9d2cce46de965c16073e5c8b66097fb1b5156e;hpb=e6d781eb4614d9bb8f87133e16c62a1a5a564e77;p=syj.git diff --git a/application/configs/application.ini b/application/configs/application.ini index cb9d2cc..d80dbb3 100644 --- a/application/configs/application.ini +++ b/application/configs/application.ini @@ -1,4 +1,4 @@ -; This file is part of Syj, Copyright (c) 2010 Arnaud Renevier, +; This file is part of Syj, Copyright (c) 2010-2011 Arnaud Renevier, ; and is published under the AGPL license. */ [production] phpSettings.display_startup_errors = 0 @@ -9,7 +9,7 @@ bootstrap.path = APPLICATION_PATH "/Bootstrap.php" bootstrap.class = "Bootstrap" appnamespace = "Syj" ; needed to send mails from cron -resources.frontController.params.rooturl="http://osm-syj.crans.org/" +resources.frontController.params.rooturl="http://syj.renevier.net/" resources.frontController.controllerDirectory = APPLICATION_PATH "/controllers" resources.frontController.params.displayExceptions = 0 resources.frontController.params.webmasterEmail = "arno@renevier.net" @@ -54,10 +54,12 @@ resources.router.routes.path.defaults.action = "index" resources.router.routes.path_update.route = "path/:idx/update" resources.router.routes.path_update.defaults.controller = "path" resources.router.routes.path_update.defaults.action = "update" +resources.router.routes.path_update.defaults.idx = "-1" ; path/xxx/delete resources.router.routes.path_delete.route = "path/:idx/delete" resources.router.routes.path_delete.defaults.controller = "path" resources.router.routes.path_delete.defaults.action = "delete" +resources.router.routes.path_delete.defaults.idx = "-1" ; login/ resources.router.routes.login.route = "login/" resources.router.routes.login.defaults.controller = "login"