Changeset - 17ca5f2c95e7
[Not reviewed]
default
0 1 0
Nathan Brink (binki) - 14 years ago 2011-06-18 09:41:02
ohnobinki@ohnopublishing.net
Add some default school_info settings to the rehasher.
1 file changed with 4 insertions and 0 deletions:
0 comments (0 inline, 0 general)
inc/school.inc
Show inline comments
 
@@ -75,12 +75,16 @@ function school_load($school_id, $load_a
 
	require_once($school_crawl_file_name);
 
    }
 

	
 
  $school_info = $school_id . '_info';
 
  $school += $school_info();
 

	
 
  /* Overridable defaults: */
 
  $school += array('domains' => array($school_id . '.edu'),
 
		   'url' => 'http://' . $school_id . '.edu/');
 

	
 
  /*
 
   * append small amount of info from the cache entry for this school:
 
   * whether or not it was crawled.
 
   *
 
   * Perhaps this stuff should be just moved into the _info function
 
   * for efficiency.
0 comments (0 inline, 0 general)