Annotation of adblockfilters/www/local.conf, revision 1.3

1.1       petejc      1: <?php
                      2: 
1.2       maltekra    3: $link = '';
                      4: switch(basename($_SERVER['SCRIPT_FILENAME'])) {
                      5:   case 'bugs.html':
                      6:     $link = 'content/bugs';
                      7:     break;
                      8:   case 'changelog.html':
                      9:     $link = 'category/blog/release';
                     10:     break;
                     11:   case 'faq.html':
                     12:     $link = 'content/frequently-asked-questions';
                     13:     break;
                     14:   case 'screenshots.html':
                     15:     $link = 'content/screenshots';
                     16:     break;
                     17:   case 'source.html':
                     18:     $link = 'content/source-code';
                     19:     break;
                     20: }
1.3     ! maltekra   21: echo 'basename($_SERVER['SCRIPT_FILENAME'])';
        !            22: #header("Location: http://adblockfilters.mozdev.org/drupal/$link", true, 301);
        !            23: #exit;
1.2       maltekra   24: 
1.1       petejc     25: // site branding
                     26: $local_conf_no_wrap=OFF;
                     27: 
                     28: // toggle cvs commit view
                     29: $local_conf_commits=ON;
                     30: // if you're creating complete xhtml pages, and you are hiding commits
                     31: // $local_conf_no_no_commits_message = ON;
                     32: 
                     33: // other configuration options
                     34: // we need to set these with the correct defaults
                     35: //
                     36: // $local_conf_last_updated
                     37: // $local_conf_mime_types
                     38: // $local_conf_serve_as_is
                     39: // $local_conf_skin
                     40: // $local_conf_nav_off
                     41: //
                     42: // $local_conf_use_local_error_pages // uses error/404.html unless $local_conf_error_page set
                     43: // $local_conf_error_page = 'error/404.html'; // path relative to PROJECTNAME/www
                     44: //
                     45: // $local_conf_use_local_footer
                     46: // $local_conf_auto_generate_memberlist
                     47: // $local_conf_show_notes_form
                     48: // $local_conf_project_html_lang = 'es'; (for mozillaes project) set to override default 'en'
                     49: 
                     50:   $local_conf_ignore_holidays = ON;
                     51:   $local_conf_style_2004 = ON;
                     52: 
                     53: // $now = time();
                     54: 
                     55:   echo '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">' . "\n";
                     56: 
                     57: ?>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>