Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dokuwiki
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
BRIC
dokuwiki
Commits
af619c5a
Commit
af619c5a
authored
12 years ago
by
Anika Henke
Browse files
Options
Downloads
Patches
Plain Diff
renamed conf_path() to farm_confpath()
parent
0cbe4a25
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
inc/farm.php
+3
-3
3 additions, 3 deletions
inc/farm.php
with
3 additions
and
3 deletions
inc/farm.php
+
3
−
3
View file @
af619c5a
...
...
@@ -17,14 +17,14 @@
* @author Anika Henke <anika@selfthinker.org>
* @author Michael Klier <chi@chimeric.de>
* @author Christopher Smith <chris@jalakai.co.uk>
* @author virtual host part of conf
_
path() based on conf_path() from Drupal.org's /includes/bootstrap.inc
* @author virtual host part of
farm_
confpath() based on conf_path() from Drupal.org's /includes/bootstrap.inc
* (see http://cvs.drupal.org/viewvc/drupal/drupal/includes/bootstrap.inc?view=markup)
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*/
// DOKU_FARMDIR needs to be set in preload.php, here the fallback is the same as DOKU_INC would be (if it was set already)
if
(
!
defined
(
'DOKU_FARMDIR'
))
define
(
'DOKU_FARMDIR'
,
fullpath
(
dirname
(
__FILE__
)
.
'/../'
)
.
'/'
);
if
(
!
defined
(
'DOKU_CONF'
))
define
(
'DOKU_CONF'
,
conf
_
path
(
DOKU_FARMDIR
));
if
(
!
defined
(
'DOKU_CONF'
))
define
(
'DOKU_CONF'
,
farm_
confpath
(
DOKU_FARMDIR
));
if
(
!
defined
(
'DOKU_FARM'
))
define
(
'DOKU_FARM'
,
false
);
...
...
@@ -39,7 +39,7 @@ if(!defined('DOKU_FARM')) define('DOKU_FARM', false);
* first configuration file found will be used; the remaining will ignored.
* If no configuration file is found, return the default confdir './conf'.
*/
function
conf
_
path
(
$farm
)
{
function
farm_
confpath
(
$farm
)
{
// htaccess based or cli
// cli usage example: animal=your_animal bin/indexer.php
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment