[cc-commits] [CC SVN] r15222 - themes/creativecommons.org/trunk

webmaster at creativecommons.org webmaster at creativecommons.org
Mon Sep 12 12:44:07 EDT 2011


Author: rejon
Date: 2011-09-12 16:44:07 +0000 (Mon, 12 Sep 2011)
New Revision: 15222

Modified:
   themes/creativecommons.org/trunk/functions.php
Log:
added way to update site path


Modified: themes/creativecommons.org/trunk/functions.php
===================================================================
--- themes/creativecommons.org/trunk/functions.php	2011-09-12 16:31:35 UTC (rev 15221)
+++ themes/creativecommons.org/trunk/functions.php	2011-09-12 16:44:07 UTC (rev 15222)
@@ -1,9 +1,10 @@
 <?php
     include 'meta.php';
 
-// Moving sites
-update_option('siteurl','http://cc.localhost');
-update_option('home','http://cc.localhost');
+// This file is not to be checked in.
+$func_custom = TEMPLATEPATH . '/functions-custom.php';
+if ( is_readable( $func_custom ) )
+    include_once( $func_custom );
 
 // Remove link rel="start" from blog pages
 remove_action('wp_head', 'start_post_rel_link'); // Removes the start link



More information about the cc-commits mailing list