Update so that git checkouts will work

This commit is contained in:
Andrew Ruthven 2024-04-30 20:50:33 +12:00
parent 4a64af43f8
commit e919bce20e

View File

@ -141,6 +141,8 @@ $c->base_url = preg_replace('#/[^/]+\.php.*$#', '', $_SERVER['SCRIPT_NAME']);
$c->base_directory = preg_replace('#/[^/]*$#', '', $_SERVER['DOCUMENT_ROOT']);
$c->default_privileges = array('read-free-busy', 'schedule-deliver');
$c->list_everyone = true;
$c->external_refresh = 60;
$c->scheduling_dkim_domain = false;
$c->enable_auto_schedule = true;
@ -159,12 +161,15 @@ $c->template_usr = array( 'active' => true,
$c->hide_TODO = true; // VTODO only visible to collection owner
$c->readonly_webdav_collections = true; // WebDAV access is readonly
// Any many times GetMoreInstances in inc/RRule.php should loop trying to
// find more instances.
$c->rrule_loop_limit = 100;
// Kind of private configuration values
$c->total_query_time = 0;
// How many times GetMoreInstances in inc/RRule.php should loop trying to
// find more instances.
$c->rrule_loop_limit = 100;
// Are we in test mode?
$c->test_mode = false;
$c->dbg = array();
@ -308,6 +313,12 @@ if ( isset($c->version_string) && preg_match( '/(\d+)\.(\d+)\.(\d+)(.*)/', $c->v
@header( sprintf('Server: %d.%d', $c->code_major, $c->code_minor) );
}
// What is our minimum supported version of PHP?
$c->minimum_php_version = '5.4.0';
// Default UserAgent string when fetching content from elsewhere.
$c->external_ua_string = "DAViCal/" . $c->version_string;
/**
* Force the domain name to what was in the configuration file
*/
@ -315,7 +326,7 @@ $_SERVER['SERVER_NAME'] = $c->domain_name;
require_once('AwlQuery.php');
$c->want_dbversion = array(1,3,5);
$c->want_dbversion = array(1,3,6);
$c->schema_version = 0;
$qry = new AwlQuery( 'SELECT schema_major, schema_minor, schema_patch FROM awl_db_revision ORDER BY schema_id DESC LIMIT 1;' );
if ( $qry->Exec('always',__LINE__,__FILE__) && $row = $qry->Fetch() ) {