]> mj.ucw.cz Git - pciids.git/commitdiff
Fix stock answers
authorMichal Vaner <vorner@ucw.cz>
Thu, 11 Sep 2008 14:56:10 +0000 (16:56 +0200)
committerMichal Vaner <vorner@ucw.cz>
Thu, 11 Sep 2008 14:56:10 +0000 (16:56 +0200)
The administration interface looked for them at the old place. Update
the path.

PciIds/Html/Admin.pm

index 258df13195ecc58a617b1f6944608dc3fc0ab63e..95a7d05e13713a8e9c453c9465b649b60c2499e8 100644 (file)
@@ -83,7 +83,7 @@ sub genNewForm( $$ ) {
 
 sub loadStock() {
        my @stock;
-       if( open ANS, "$directory/answers" ) {
+       if( open ANS, "$directory/cf/answers" ) {
                my( $name, $text, $lines );
                while( defined( $name = <ANS> ) ) {
                        $lines = '';