[vhffs-dev] [844] bye bye get_templatesdir |
[ Thread Index |
Date Index
| More vhffs.org/vhffs-dev Archives
]
Revision: 844
Author: gradator
Date: 2007-08-30 23:38:56 +0000 (Thu, 30 Aug 2007)
Log Message:
-----------
bye bye get_templatesdir
Modified Paths:
--------------
trunk/vhffs-api/src/Vhffs/Conf.pm
trunk/vhffs-panel/admin/svn/search.pl
Modified: trunk/vhffs-api/src/Vhffs/Conf.pm
===================================================================
--- trunk/vhffs-api/src/Vhffs/Conf.pm 2007-08-30 22:32:44 UTC (rev 843)
+++ trunk/vhffs-api/src/Vhffs/Conf.pm 2007-08-30 23:38:56 UTC (rev 844)
@@ -228,12 +228,6 @@
}
-sub get_templatesdir
-{
- return $Config{"global"}{"templatedir"};
-}
-
-
sub get_intldir
{
return $Config{"global"}{"intldir"};
Modified: trunk/vhffs-panel/admin/svn/search.pl
===================================================================
--- trunk/vhffs-panel/admin/svn/search.pl 2007-08-30 22:32:44 UTC (rev 843)
+++ trunk/vhffs-panel/admin/svn/search.pl 2007-08-30 23:38:56 UTC (rev 844)
@@ -63,7 +63,7 @@
my $template;
-my $templatesdir = $vhffs->get_config->get_templatesdir;
+my $templatesdir = $vhffs->get_config->get_templatedir;
if( ($user->is_moderator != 1 ) && ( $user->is_admin != 1 ) )
{