File:  [mozdev] / autoproxy / www / local.conf
Revision 1.35: download - view: text, annotated - select for diffs - revision graph
Thu Aug 25 03:29:50 2011 UTC (6 years, 1 month ago) by lovelywcm
Branches: MAIN
CVS tags: HEAD
update latest.xpi link

<?php

  // index.html can not be changed, maybe a bug, so:
  if ( $_SERVER['REQUEST_URI'] == "/" ||
       $_SERVER['REQUEST_URI'] == "/welcome.html" ||
       $_SERVER['REQUEST_URI'] == "/index.html" )
  {
    header("Location: http://www.autoproxy.org/");
    exit();
  }

  // latest.xpi, for third-party reference
  if ( $_SERVER['REQUEST_URI'] == "/latest.xpi" ) {
    header("Location: https://addons.mozilla.org/firefox/downloads/latest/11009/addon-11009-latest.xpi?src=latest.xpi");
    exit();
  }

// site branding
  $local_conf_no_wrap = ON;

// toggle cvs commit view
  $local_conf_commits = ON;
// if you're creating complete xhtml pages, and you are hiding commits
// $local_conf_no_no_commits_message = ON;

// other configuration options
// we need to set these with the correct defaults
//
// $local_conf_last_updated
// $local_conf_mime_types
  $local_conf_serve_as_is = ON;
// $local_conf_skin
// $local_conf_nav_off
//

  $local_conf_use_local_error_pages = ON;
  $local_conf_error_page = '/404.html'; // path relative to PROJECTNAME/www
  
//
// $local_conf_use_local_footer
// $local_conf_auto_generate_memberlist
// $local_conf_show_notes_form
// $local_conf_project_html_lang = 'es'; (for mozillaes project) set to override default 'en'

  $local_conf_ignore_holidays = ON;
  $local_conf_style_2004 = ON;

// $now = time();

//  echo '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">' . "\n";

?>

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