]> ruin.nu Git - ndwebbie.git/commitdiff
fixed settings
authorMichael Andreen <harv@ruin.nu>
Mon, 12 Nov 2007 20:13:20 +0000 (21:13 +0100)
committerMichael Andreen <harv@ruin.nu>
Mon, 12 Nov 2007 20:13:20 +0000 (21:13 +0100)
NDWeb/Pages/Settings.pm

index 8c0441407398faaff1df29d2429ebb276626505a..962035e6709360168f1a812e1c1d24d660a71246 100644 (file)
@@ -47,7 +47,7 @@ sub render_body {
        my ($css) = $DBH->selectrow_array(q{SELECT css FROM users WHERE uid = $1},undef,$ND::UID);
        my @stylesheets = ({Style => 'Default'});
        $css = '' unless defined $css;
-       while (<stylesheets/*.css>){
+       while (<htdocs/stylesheets/*.css>){
                if(m{stylesheets/(\w+)\.css}){
                        push @stylesheets,{Style => $1, Selected => $1 eq $css ? 1 : 0};
                }