[cc-commits] [CC SVN] r14267 - cchost/trunk/mixter-files/pages

webmaster at creativecommons.org webmaster at creativecommons.org
Sat Mar 20 19:41:54 EDT 2010


Author: fourstones
Date: 2010-03-20 23:41:54 +0000 (Sat, 20 Mar 2010)
New Revision: 14267

Modified:
   cchost/trunk/mixter-files/pages/welcome.php
Log:
squash unexplainable recurring error

Modified: cchost/trunk/mixter-files/pages/welcome.php
===================================================================
--- cchost/trunk/mixter-files/pages/welcome.php	2010-03-20 21:27:51 UTC (rev 14266)
+++ cchost/trunk/mixter-files/pages/welcome.php	2010-03-20 23:41:54 UTC (rev 14267)
@@ -1,4 +1,18 @@
-<style >
+<?
+if( empty($A['user_name']) )
+{
+?>
+<script>
+document.location = home_url;
+</script>
+<noscript>
+    You must be logged in to view this page.
+</noscript>
+<?
+    return;
+}
+?>
+<style>
 .hs
 {
     font-style:Courier New, courier, serif;




More information about the cc-commits mailing list