1 |
slords |
1.1 |
diff -Nur -x '*.orig' -x '*.rej' e-smith-manager-1.14.0/root/etc/e-smith/events/actions/navigation-conf mezzanine_patched_e-smith-manager-1.14.0/root/etc/e-smith/events/actions/navigation-conf |
2 |
|
|
--- e-smith-manager-1.14.0/root/etc/e-smith/events/actions/navigation-conf 2008-07-31 10:01:11.000000000 -0600 |
3 |
|
|
+++ mezzanine_patched_e-smith-manager-1.14.0/root/etc/e-smith/events/actions/navigation-conf 2008-07-31 10:00:56.000000000 -0600 |
4 |
|
|
@@ -22,7 +22,7 @@ |
5 |
|
|
|
6 |
|
|
use strict; |
7 |
|
|
|
8 |
|
|
-use esmith::ConfigDB; |
9 |
|
|
+use esmith::NavigationDB; |
10 |
|
|
use esmith::I18N; |
11 |
|
|
|
12 |
|
|
use constant WEBFUNCTIONS => '/etc/e-smith/web/functions'; |
13 |
|
|
@@ -81,8 +81,8 @@ |
14 |
|
|
#warn "updating script $file for lang $lang\n"; |
15 |
|
|
my $navdb = $navdbs{$lang}; |
16 |
|
|
my $navinfo = NAVIGATIONDIR . "/navigation.$lang"; |
17 |
|
|
- $navdb ||= esmith::ConfigDB->open($navinfo); |
18 |
|
|
- $navdb ||= esmith::ConfigDB->create($navinfo) or |
19 |
|
|
+ $navdb ||= esmith::NavigationDB->open($navinfo); |
20 |
|
|
+ $navdb ||= esmith::NavigationDB->create($navinfo) or |
21 |
|
|
die "Couldn't create $navinfo\n"; |
22 |
|
|
$navdbs{$lang} ||= $navdb; |
23 |
|
|
my $rec = $navdb->get($file) || |