path: root/lib/VNDB/Util/
diff options
authorYorhel <>2019-09-12 17:07:46 +0200
committerYorhel <>2019-09-12 17:54:50 +0200
commitadc906096f4644788b970e5ed936ca3e70bde2e8 (patch)
tree8d2aacf12b008820a5a331e648f915a67987cdfb /lib/VNDB/Util/
parent752bc1724968a1f15b17ba9e607f2163997b4efa (diff)
Add VNDB::Config module and unified config file
This gets rid of, and and uses the cleaner format for the config file. The config is easily accessible from anywhere by importing the new VNDB::Config module; The global $VNDB::S,O,M,ROOT variables have been removed. Sorry for all the churn...
Diffstat (limited to 'lib/VNDB/Util/')
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VNDB/Util/ b/lib/VNDB/Util/
index 0093bf2d..c335041a 100644
--- a/lib/VNDB/Util/
+++ b/lib/VNDB/Util/
@@ -156,7 +156,7 @@ sub authInfo {
# returns whether the currently loggedin or anonymous user can perform
-# a certain action. Argument is the action name as defined in
+# a certain action.
sub authCan {
my($self, $act) = @_;
return $self->{_auth} ? $self->{_auth}{perm} & $self->{permissions}{$act} : 0;