summaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
Diffstat (limited to 'www')
-rwxr-xr-xwww/cgi-bin/mvc.lua15
1 files changed, 0 insertions, 15 deletions
diff --git a/www/cgi-bin/mvc.lua b/www/cgi-bin/mvc.lua
index 4aeb8fa..c7afdcd 100755
--- a/www/cgi-bin/mvc.lua
+++ b/www/cgi-bin/mvc.lua
@@ -225,21 +225,6 @@ soft_require = function (self, name )
return nil
end
--- see man basename.1
-basename = function (string, suffix)
- string = string or ""
- local basename = string.gsub (string, "[^/]*/", "")
- if suffix then
- basename = string.gsub ( basename, suffix, "" )
- end
- return basename
-end
-
--- see man dirname.1
-dirname = function (string)
- return (string.gsub (string or "", "/?[^/]*$", ""))
-end
-
-- look in various places for a config file, and store it in self.conf
read_config = function( self, appname )
appname = appname or self.conf.appname