update
This commit is contained in:
		| @@ -37,6 +37,3 @@ Possible website applications include | |||||||
| * dating websites | * dating websites | ||||||
| * pretty much anything you can do on a traditional blog or community website, but that you could do better if you could easily connect it with other websites or privately share things across website boundaries.  | * pretty much anything you can do on a traditional blog or community website, but that you could do better if you could easily connect it with other websites or privately share things across website boundaries.  | ||||||
|  |  | ||||||
|  |  | ||||||
|  |  | ||||||
| This project is under development and is not yet available for general use.   |  | ||||||
							
								
								
									
										22
									
								
								boot.php
									
									
									
									
									
								
							
							
						
						
									
										22
									
								
								boot.php
									
									
									
									
									
								
							| @@ -7,12 +7,12 @@ | |||||||
| /** | /** | ||||||
|  * Hubzilla. |  * Hubzilla. | ||||||
|  * |  * | ||||||
|  * The Hubzilla (aka "Red") is an open source decentralised communications |  * Hubzilla is an open source decentralised communications | ||||||
|  * platform combined with a decentralised identity/authentication framework |  * platform combined with a decentralised identity/authentication framework | ||||||
|  * wrapped in an extensible content management system, providing website designers |  * wrapped in an extensible content management system, providing website designers | ||||||
|  * the ability to embed fully decentralised communications and social tools |  * the ability to embed fully decentralised communications and social tools | ||||||
|  * into many traditional website designs (blogs, forums, small business |  * into many traditional website designs (blogs, forums, small business | ||||||
|  * websites, charitable organisations, etc.). Red also provides DNS mobility |  * websites, charitable organisations, etc.). Hubzilla also provides DNS mobility | ||||||
|  * and internet scale privacy/access control. |  * and internet scale privacy/access control. | ||||||
|  * |  * | ||||||
|  * This allows any individual website to participate in a matrix of linked |  * This allows any individual website to participate in a matrix of linked | ||||||
| @@ -46,7 +46,7 @@ require_once('include/account.php'); | |||||||
|  |  | ||||||
|  |  | ||||||
| define ( 'PLATFORM_NAME',           'hubzilla' ); | define ( 'PLATFORM_NAME',           'hubzilla' ); | ||||||
| define ( 'RED_VERSION',             trim(file_get_contents('version.inc')) . 'R'); | define ( 'RED_VERSION',             trim(file_get_contents('version.inc')) . 'H'); | ||||||
| define ( 'ZOT_REVISION',            1     ); | define ( 'ZOT_REVISION',            1     ); | ||||||
|  |  | ||||||
| define ( 'DB_UPDATE_VERSION',       1145  ); | define ( 'DB_UPDATE_VERSION',       1145  ); | ||||||
| @@ -717,7 +717,6 @@ class App { | |||||||
| 		set_include_path( | 		set_include_path( | ||||||
| 			'include' . PATH_SEPARATOR | 			'include' . PATH_SEPARATOR | ||||||
| 			. 'library' . PATH_SEPARATOR | 			. 'library' . PATH_SEPARATOR | ||||||
| 			. 'library/phpsec' . PATH_SEPARATOR |  | ||||||
| 			. 'library/langdet' . PATH_SEPARATOR | 			. 'library/langdet' . PATH_SEPARATOR | ||||||
| 			. '.' ); | 			. '.' ); | ||||||
|  |  | ||||||
| @@ -1056,18 +1055,7 @@ class App { | |||||||
| 	} | 	} | ||||||
|  |  | ||||||
| 	function set_template_engine($engine = 'smarty3') { | 	function set_template_engine($engine = 'smarty3') { | ||||||
|  |  | ||||||
| 		$this->theme['template_engine'] = $engine; | 		$this->theme['template_engine'] = $engine; | ||||||
|  |  | ||||||
| 		/*if ($engine) { |  | ||||||
| 			case 'smarty3': |  | ||||||
| 				if(!is_writable(TEMPLATE_BUILD_PATH)) |  | ||||||
| 					echo "<b>ERROR</b> folder <tt>" . TEMPLATE_BUILD_PATH . "</tt> must be writable by webserver."; killme(); |  | ||||||
|  |  | ||||||
| 				break; |  | ||||||
| 			default: |  | ||||||
| 				break; |  | ||||||
| 		}*/ |  | ||||||
| 	} | 	} | ||||||
|  |  | ||||||
| 	function get_template_ldelim($engine = 'smarty3') { | 	function get_template_ldelim($engine = 'smarty3') { | ||||||
| @@ -2271,7 +2259,7 @@ function cert_bad_email() { | |||||||
| 		'$error' => t('Website SSL certificate is not valid. Please correct.') | 		'$error' => t('Website SSL certificate is not valid. Please correct.') | ||||||
| 	)); | 	)); | ||||||
|  |  | ||||||
| 	$subject = email_header_encode(sprintf(t('[red] Website SSL error for %s'), $a->get_hostname())); | 	$subject = email_header_encode(sprintf(t('[hubzilla] Website SSL error for %s'), $a->get_hostname())); | ||||||
| 	mail($a->config['system']['admin_email'], $subject, $email_msg, | 	mail($a->config['system']['admin_email'], $subject, $email_msg, | ||||||
| 		'From: Administrator' . '@' . $a->get_hostname() . "\n" | 		'From: Administrator' . '@' . $a->get_hostname() . "\n" | ||||||
| 		. 'Content-type: text/plain; charset=UTF-8' . "\n" | 		. 'Content-type: text/plain; charset=UTF-8' . "\n" | ||||||
| @@ -2312,7 +2300,7 @@ function check_cron_broken() { | |||||||
| 		'$lastdate' => (($d)? $d : t('never')) | 		'$lastdate' => (($d)? $d : t('never')) | ||||||
| 	)); | 	)); | ||||||
|  |  | ||||||
| 	$subject = email_header_encode(sprintf(t('[red] Cron tasks not running on %s'), $a->get_hostname())); | 	$subject = email_header_encode(sprintf(t('[hubzilla] Cron tasks not running on %s'), $a->get_hostname())); | ||||||
| 	mail($a->config['system']['admin_email'], $subject, $email_msg, | 	mail($a->config['system']['admin_email'], $subject, $email_msg, | ||||||
| 		'From: Administrator' . '@' . $a->get_hostname() . "\n" | 		'From: Administrator' . '@' . $a->get_hostname() . "\n" | ||||||
| 		. 'Content-type: text/plain; charset=UTF-8' . "\n" | 		. 'Content-type: text/plain; charset=UTF-8' . "\n" | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user