change some exportPath munging so we're not deleting the default export path

(PoLA)
This commit is contained in:
Chris Nehren 2008-04-21 01:06:27 +00:00
parent a62990b03c
commit 29b31b74b9

View file

@ -226,9 +226,8 @@ is($isExportable, 1, "exportCheckExportable exportable asset, parent, grandparen
#----------------------------------------------------------------------------
# exportGetUrlAsPath()
# exportPath won't be changing any more, so store it.
$config->set('exportPath', $originalExportPath);
my $exportPath = $originalExportPath;
# store the exportPath for future reference
my $exportPath = $config->get('exportPath');
my $litmus;
# start with something simple: export the root URL.
@ -508,8 +507,9 @@ cmp_deeply(
# now test that it works as it should, when it should
$config->set('exportPath', $originalExportPath);
$exportPath = Path::Class::Dir->new($originalExportPath);
#$config->set('exportPath', $originalExportPath);
#$exportPath = Path::Class::Dir->new($originalExportPath);
$exportPath = $config->get('exportPath');
my $extrasPath = $config->get('extrasPath');
my $extrasUrl = $config->get('extrasURL');
my $uploadsPath = $config->get('uploadsPath');