Tadashi Okoshi
slash****@users*****
2006年 8月 10日 (木) 07:07:38 JST
Index: affelio/setup.cgi
diff -u affelio/setup.cgi:1.17 affelio/setup.cgi:1.18
--- affelio/setup.cgi:1.17 Tue Mar 7 23:39:08 2006
+++ affelio/setup.cgi Thu Aug 10 07:07:38 2006
@@ -16,7 +16,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#
-# $Id: setup.cgi,v 1.17 2006/03/07 14:39:08 slash5234 Exp $
+# $Id: setup.cgi,v 1.18 2006/08/09 22:07:38 slash5234 Exp $
use strict;
@@ -33,9 +33,9 @@
use Affelio;
use Affelio::misc::CGIError;
use Affelio::misc::MyCrypt;
-use Affelio::misc::L10N;
use Affelio::misc::InitAffelio;
use Affelio::misc::Debug qw(debug_print);
+use Affelio::App::Standalone::L10N;
############################################################################
#Main
@@ -455,6 +455,7 @@
##########################################################
try{
Affelio::misc::InitAffelio::init_db(".",
+ "./defaults/",
$g_nickname,
$g_email,
$g_lh);
@@ -534,7 +535,7 @@
#########################################
sub load_locale{
my $locale_name = shift;
- $g_lh = Affelio::misc::L10N->get_handle(($locale_name));
+ $g_lh = Affelio::App::Standalone::L10N->get_handle(($locale_name));
error $cgi, "Couldn't make a language handle. \n$@" unless $g_lh;
}