diff options
author | Ted Trask <ttrask01@yahoo.com> | 2009-12-28 15:03:23 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2009-12-28 15:03:23 +0000 |
commit | a506f1cf5243a5458af1ec4c13946fc88a7dbb84 (patch) | |
tree | 732fcae01363c8e68876cff76e19f8753df968ab /www/cgi-bin | |
parent | 5700d48f9d9d6906937003297a7f35f9ba212c29 (diff) | |
download | acf-core-a506f1cf5243a5458af1ec4c13946fc88a7dbb84.tar.bz2 acf-core-a506f1cf5243a5458af1ec4c13946fc88a7dbb84.tar.xz |
Fixed template bug, remembered to actually remove the basename/dirname functions.
Diffstat (limited to 'www/cgi-bin')
-rwxr-xr-x | www/cgi-bin/mvc.lua | 15 |
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 |