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() # exportGetUrlAsPath()
# exportPath won't be changing any more, so store it. # store the exportPath for future reference
$config->set('exportPath', $originalExportPath); my $exportPath = $config->get('exportPath');
my $exportPath = $originalExportPath;
my $litmus; my $litmus;
# start with something simple: export the root URL. # 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 # now test that it works as it should, when it should
$config->set('exportPath', $originalExportPath); #$config->set('exportPath', $originalExportPath);
$exportPath = Path::Class::Dir->new($originalExportPath); #$exportPath = Path::Class::Dir->new($originalExportPath);
$exportPath = $config->get('exportPath');
my $extrasPath = $config->get('extrasPath'); my $extrasPath = $config->get('extrasPath');
my $extrasUrl = $config->get('extrasURL'); my $extrasUrl = $config->get('extrasURL');
my $uploadsPath = $config->get('uploadsPath'); my $uploadsPath = $config->get('uploadsPath');