mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-04-29 15:51:27 +00:00
Make images work in the subdirectory model.
This commit is contained in:
parent
2800808b90
commit
476f084844
@ -14,7 +14,6 @@ $c->sysabbr = 'rscds';
|
||||
$c->admin_email = 'andrew@catalyst.net.nz';
|
||||
$c->system_name = "Really Simple CalDAV Store";
|
||||
$c->domain_name = $_SERVER['SERVER_NAME'];
|
||||
$c->images = "/images";
|
||||
$c->save_time_zone_defs = true;
|
||||
$c->collections_always_exist = true;
|
||||
$c->enable_row_linking = true;
|
||||
@ -23,7 +22,9 @@ $c->enable_row_linking = true;
|
||||
$c->default_locale = "en_NZ";
|
||||
$c->base_url = preg_replace("#/[^/]+\.php.*$#", "", $_SERVER['SCRIPT_NAME']);
|
||||
$c->base_directory = preg_replace("#/[^/]*$#", "", $_SERVER['DOCUMENT_ROOT']);
|
||||
|
||||
$c->stylesheets = array( $c->base_url."/rscds.css" );
|
||||
$c->images = $c->base_url . "/images";
|
||||
|
||||
// Ensure that ../inc is in our included paths as early as possible
|
||||
set_include_path( '../inc'. PATH_SEPARATOR. get_include_path());
|
||||
@ -31,7 +32,7 @@ set_include_path( '../inc'. PATH_SEPARATOR. get_include_path());
|
||||
// Kind of private configuration values
|
||||
$c->total_query_time = 0;
|
||||
|
||||
$c->dbg = array( "i18n" => 1 );
|
||||
$c->dbg = array();
|
||||
|
||||
// Utilities
|
||||
require_once("AWLUtilities.php");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user