mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-05-26 02:44:29 +00:00
Fix include path for new always.php location.
This commit is contained in:
parent
9b3fb58b9f
commit
92e106653b
@ -1,5 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
require_once("../inc/always.php");
|
require_once("../htdocs/always.php");
|
||||||
require_once("RRule.php");
|
require_once("RRule.php");
|
||||||
|
|
||||||
header("Content-type: text/plain");
|
header("Content-type: text/plain");
|
||||||
|
|||||||
@ -2,13 +2,13 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
if ( @file_exists('../../awl/inc/AWLUtilities.php') ) {
|
if ( @file_exists('../../awl/inc/AWLUtilities.php') ) {
|
||||||
set_include_path('../inc:../../awl/inc');
|
set_include_path('../inc:../htdocs:../../awl/inc');
|
||||||
}
|
}
|
||||||
else if ( @file_exists('../awl/inc/AWLUtilities.php') ) {
|
else if ( @file_exists('../awl/inc/AWLUtilities.php') ) {
|
||||||
set_include_path('inc:../awl/inc:.');
|
set_include_path('inc:htdocs:../awl/inc:.');
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
set_include_path('../inc:/usr/share/awl/inc');
|
set_include_path('../inc:../htdocs:/usr/share/awl/inc');
|
||||||
}
|
}
|
||||||
include('always.php');
|
include('always.php');
|
||||||
require_once('AwlQuery.php');
|
require_once('AwlQuery.php');
|
||||||
|
|||||||
@ -2,10 +2,10 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
if ( @file_exists('../../awl/inc/AWLUtilities.php') ) {
|
if ( @file_exists('../../awl/inc/AWLUtilities.php') ) {
|
||||||
set_include_path('../inc:../../awl/inc');
|
set_include_path('../inc:../htdocs:../../awl/inc');
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
set_include_path('../inc:/usr/share/awl/inc');
|
set_include_path('../inc:../htdocs:/usr/share/awl/inc');
|
||||||
}
|
}
|
||||||
require_once("always.php");
|
require_once("always.php");
|
||||||
$c->dbg = array();
|
$c->dbg = array();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user