]> git.donarmstrong.com Git - cran2deb.git/commitdiff
www redirect to homepage
authorblundellc <blundellc@edb9625f-4e0d-4859-8d74-9fd3b1da38cb>
Sun, 4 Oct 2009 17:21:41 +0000 (17:21 +0000)
committerblundellc <blundellc@edb9625f-4e0d-4859-8d74-9fd3b1da38cb>
Sun, 4 Oct 2009 17:21:41 +0000 (17:21 +0000)
git-svn-id: svn://svn.r-forge.r-project.org/svnroot/cran2deb@280 edb9625f-4e0d-4859-8d74-9fd3b1da38cb

www/index.html [new file with mode: 0644]
www/index.php [deleted file]

diff --git a/www/index.html b/www/index.html
new file mode 100644 (file)
index 0000000..b4bf92d
--- /dev/null
@@ -0,0 +1 @@
+<html><head><meta http-equiv="refresh" content="0; url=http://debian.cran.r-project.org/" /></head></html>
diff --git a/www/index.php b/www/index.php
deleted file mode 100644 (file)
index 2cc6672..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-
-<!-- This is the project specific website template -->
-<!-- It can be changed as liked or replaced by other content -->
-
-<?php
-
-$domain=ereg_replace('[^\.]*\.(.*)$','\1',$_SERVER['HTTP_HOST']);
-$group_name=ereg_replace('([^\.]*)\..*$','\1',$_SERVER['HTTP_HOST']);
-$themeroot='http://r-forge.r-project.org/themes/rforge/';
-
-echo '<?xml version="1.0" encoding="UTF-8"?>';
-?>
-<!DOCTYPE html
-       PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
-       "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en   ">
-
-  <head>
-       <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-       <title><?php echo $group_name; ?></title>
-       <link href="<?php echo $themeroot; ?>styles/estilo1.css" rel="stylesheet" type="text/css" />
-  </head>
-
-<body>
-
-<! --- R-Forge Logo --- >
-<table border="0" width="100%" cellspacing="0" cellpadding="0">
-<tr><td>
-<a href="/"><img src="<?php echo $themeroot; ?>/images/logo.png" border="0" alt="R-Forge Logo" /> </a> </td> </tr>
-</table>
-
-
-<!-- get project title  -->
-<!-- own website starts here, the following may be changed as you like -->
-
-<?php if ($handle=fopen('http://'.$domain.'/export/projtitl.php?group_name='.$group_name,'r')){
-$contents = '';
-while (!feof($handle)) {
-       $contents .= fread($handle, 8192);
-}
-fclose($handle);
-echo $contents; } ?>
-
-<!-- end of project description -->
-
-<p> No content added. </p>
-
-<p> The <strong>project summary page</strong> you can find <a href="http://<?php echo $domain; ?>/projects/<?php echo $group_name; ?>/"><strong>here</strong></a>. </p>
-
-</body>
-</html>