Merge branch 'dev' of /home/macgirvin/z into dev

This commit is contained in:
nobody 2021-04-01 14:47:39 -07:00
commit bbc466c7a8
3 changed files with 3 additions and 3 deletions

View file

@ -42,7 +42,7 @@ class System {
static public function get_project_version() {
if((! array_path_exists('system/hide_version', App::$config)) || App::$config['system']['hide_version'])
if(array_path_exists('system/hide_version', App::$config) && intval(App::$config['system']['hide_version']))
return '';
if(is_array(App::$config) && is_array(App::$config['system']) && array_key_exists('std_version',App::$config['system']))
return App::$config['system']['std_version'];

View file

@ -7,7 +7,7 @@ class Sites extends \Zotlabs\Web\Controller {
function get() {
$sql_extra = (($_REQUEST['project']) ? " and site_project = '" . escape_tags(protect_sprintf(escape_tags($_REQUEST['project']))) . "' " : "");
$sql_extra = (($_REQUEST['project']) ? " and site_project = '" . escape_tags(protect_sprintf(dbesc($_REQUEST['project']))) . "' " : "");
$desc = t('This page provides information about related projects and websites that are currently known to this system. These are a small fraction of the thousands of websites and dozens of projects and providers which make up the fediverse.');

View file

@ -16,7 +16,7 @@ use Zotlabs\Daemon\Run;
* @brief This file defines some global constants and includes the central App class.
*/
define ( 'STD_VERSION', '21.03.31' );
define ( 'STD_VERSION', '21.04.02' );
define ( 'ZOT_REVISION', '10.0' );
define ( 'DB_UPDATE_VERSION', 1247 );