removed some illogical path setups
darcs-hash:20081213090400-7ad00-4e21cd75978bb07513f32f5d750658e8d777c59e.gz
This commit is contained in:
parent
3dea4ebc5f
commit
fa8adffee3
29 changed files with 50 additions and 67 deletions
|
@ -5,7 +5,7 @@
|
|||
* @author Andreas Gohr <andi@splitbrain.org>
|
||||
*/
|
||||
|
||||
if(!defined('DOKU_INC')) define('DOKU_INC',fullpath(dirname(__FILE__).'/../').'/');
|
||||
if(!defined('DOKU_INC')) die('meh.');
|
||||
require_once(DOKU_INC.'inc/HTTPClient.php');
|
||||
require_once(DOKU_INC.'inc/SimplePie.php');
|
||||
|
||||
|
|
|
@ -6,8 +6,6 @@
|
|||
* @author Andreas Goetz <cpuidle@gmx.de>
|
||||
*/
|
||||
|
||||
if(!defined('DOKU_INC')) define('DOKU_INC',fullpath(dirname(__FILE__).'/../').'/');
|
||||
require_once(DOKU_CONF.'dokuwiki.php');
|
||||
|
||||
define('HTTP_NL',"\r\n");
|
||||
|
||||
|
|
|
@ -58,7 +58,7 @@
|
|||
*/
|
||||
|
||||
// for DokuWiki
|
||||
if(!defined('DOKU_INC')) define('DOKU_INC',fullpath(dirname(__FILE__).'/../').'/');
|
||||
if(!defined('DOKU_INC')) die('meh.');
|
||||
require_once(DOKU_INC.'inc/utf8.php');
|
||||
|
||||
/**
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
* @author Andreas Gohr <andi@splitbrain.org>
|
||||
*/
|
||||
|
||||
if(!defined('DOKU_INC')) define('DOKU_INC',fullpath(dirname(__FILE__).'/../').'/');
|
||||
require_once(DOKU_INC.'inc/template.php');
|
||||
if(!defined('DOKU_INC')) die('meh.');
|
||||
require_once(DOKU_INC.'inc/template.php');
|
||||
|
||||
|
||||
/**
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
* @author Andreas Gohr <andi@splitbrain.org>
|
||||
*/
|
||||
|
||||
if(!defined('DOKU_INC')) define('DOKU_INC',fullpath(dirname(__FILE__).'/../').'/');
|
||||
if(!defined('DOKU_INC')) die('meh.');
|
||||
require_once(DOKU_INC.'inc/common.php');
|
||||
require_once(DOKU_INC.'inc/io.php');
|
||||
|
||||
|
|
|
@ -6,8 +6,7 @@
|
|||
* @author Chris Smith <chris@jalakai.co.uk>
|
||||
*/
|
||||
|
||||
if(!defined('DOKU_INC')) define('DOKU_INC',fullpath(dirname(__FILE__).'/../').'/');
|
||||
|
||||
if(!defined('DOKU_INC')) die('meh.');
|
||||
require_once(DOKU_INC.'inc/io.php');
|
||||
require_once(DOKU_INC.'inc/pageutils.php');
|
||||
require_once(DOKU_INC.'inc/parserutils.php');
|
||||
|
|
|
@ -20,7 +20,6 @@
|
|||
// +----------------------------------------------------------------------+
|
||||
//
|
||||
|
||||
if(!defined('DOKU_INC')) define('DOKU_INC',fullpath(dirname(__FILE__).'/../').'/');
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
/**
|
||||
|
|
|
@ -6,8 +6,7 @@
|
|||
* @author Andreas Gohr <andi@splitbrain.org>
|
||||
*/
|
||||
|
||||
if(!defined('DOKU_INC')) define('DOKU_INC',fullpath(dirname(__FILE__).'/../').'/');
|
||||
require_once(DOKU_CONF.'dokuwiki.php');
|
||||
if(!defined('DOKU_INC')) die('meh.');
|
||||
require_once(DOKU_INC.'inc/io.php');
|
||||
require_once(DOKU_INC.'inc/changelog.php');
|
||||
require_once(DOKU_INC.'inc/utf8.php');
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
* @author Harry Fuecks <hfuecks@gmail.com>
|
||||
*/
|
||||
|
||||
if(!defined('DOKU_INC')) define('DOKU_INC',fullpath(dirname(__FILE__).'/../').'/');
|
||||
|
||||
/**
|
||||
* Returns the (known) extension and mimetype of a given filename
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
* @author Christopher Smith <chris@jalakai.co.uk>
|
||||
*/
|
||||
|
||||
if(!defined('DOKU_INC')) define('DOKU_INC',fullpath(dirname(__FILE__).'/../').'/');
|
||||
if(!defined('DOKU_INC')) die('meh.');
|
||||
require_once(DOKU_INC.'inc/pluginutils.php');
|
||||
|
||||
class Doku_Event {
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
* @author Tom N Harris <tnharris@whoopdedo.org>
|
||||
*/
|
||||
|
||||
if(!defined('DOKU_INC')) define('DOKU_INC',fullpath(dirname(__FILE__).'/../').'/');
|
||||
if(!defined('DOKU_INC')) die('meh.');
|
||||
if(!defined('NL')) define('NL',"\n");
|
||||
require_once(DOKU_INC.'inc/html.php');
|
||||
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
* @author Andreas Gohr <andi@splitbrain.org>
|
||||
*/
|
||||
|
||||
if(!defined('DOKU_INC')) define('DOKU_INC',fullpath(dirname(__FILE__).'/../').'/');
|
||||
require_once(DOKU_INC.'inc/indexer.php');
|
||||
if(!defined('DOKU_INC')) die('meh.');
|
||||
require_once(DOKU_INC.'inc/indexer.php');
|
||||
|
||||
|
||||
/**
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
* @author Andreas Gohr <andi@splitbrain.org>
|
||||
*/
|
||||
|
||||
if(!defined('DOKU_INC')) define('DOKU_INC',fullpath(dirname(__FILE__).'/../').'/');
|
||||
if(!defined('DOKU_INC')) die('meh.');
|
||||
if(!defined('NL')) define('NL',"\n");
|
||||
require_once(DOKU_INC.'inc/parserutils.php');
|
||||
require_once(DOKU_INC.'inc/form.php');
|
||||
|
|
|
@ -6,11 +6,10 @@
|
|||
* @author Andreas Gohr <andi@splitbrain.org>
|
||||
*/
|
||||
|
||||
if(!defined('DOKU_INC')) define('DOKU_INC',fullpath(dirname(__FILE__).'/../').'/');
|
||||
require_once(DOKU_CONF.'dokuwiki.php');
|
||||
require_once(DOKU_INC.'inc/io.php');
|
||||
require_once(DOKU_INC.'inc/utf8.php');
|
||||
require_once(DOKU_INC.'inc/parserutils.php');
|
||||
if(!defined('DOKU_INC')) die('meh.');
|
||||
require_once(DOKU_INC.'inc/io.php');
|
||||
require_once(DOKU_INC.'inc/utf8.php');
|
||||
require_once(DOKU_INC.'inc/parserutils.php');
|
||||
|
||||
// set the minimum token length to use in the index (note, this doesn't apply to numeric tokens)
|
||||
if (!defined('IDX_MINWORDLENGTH')) define('IDX_MINWORDLENGTH',3);
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
|
||||
* @author Andreas Gohr <andi@splitbrain.org>
|
||||
*/
|
||||
if(!defined('DOKU_INC')) define('DOKU_INC',fullpath(dirname(__FILE__).'/../').'/');
|
||||
if(!defined('DOKU_INC')) die('meh.');
|
||||
if(!defined('DOKU_MESSAGEURL')) define('DOKU_MESSAGEURL','http://update.dokuwiki.org/check/');
|
||||
require_once(DOKU_INC.'inc/HTTPClient.php');
|
||||
|
||||
|
|
10
inc/io.php
10
inc/io.php
|
@ -6,11 +6,11 @@
|
|||
* @author Andreas Gohr <andi@splitbrain.org>
|
||||
*/
|
||||
|
||||
if(!defined('DOKU_INC')) define('DOKU_INC',fullpath(dirname(__FILE__).'/../').'/');
|
||||
require_once(DOKU_INC.'inc/common.php');
|
||||
require_once(DOKU_INC.'inc/HTTPClient.php');
|
||||
require_once(DOKU_INC.'inc/events.php');
|
||||
require_once(DOKU_INC.'inc/utf8.php');
|
||||
if(!defined('DOKU_INC')) die('meh.');
|
||||
require_once(DOKU_INC.'inc/common.php');
|
||||
require_once(DOKU_INC.'inc/HTTPClient.php');
|
||||
require_once(DOKU_INC.'inc/events.php');
|
||||
require_once(DOKU_INC.'inc/utf8.php');
|
||||
|
||||
/**
|
||||
* Removes empty directories
|
||||
|
|
14
inc/mail.php
14
inc/mail.php
|
@ -6,14 +6,14 @@
|
|||
* @author Andreas Gohr <andi@splitbrain.org>
|
||||
*/
|
||||
|
||||
if(!defined('DOKU_INC')) define('DOKU_INC',fullpath(dirname(__FILE__).'/../').'/');
|
||||
require_once(DOKU_INC.'inc/utf8.php');
|
||||
require_once(DOKU_INC.'inc/EmailAddressValidator.php');
|
||||
if(!defined('DOKU_INC')) die('meh.');
|
||||
require_once(DOKU_INC.'inc/utf8.php');
|
||||
require_once(DOKU_INC.'inc/EmailAddressValidator.php');
|
||||
|
||||
// end of line for mail lines - RFC822 says CRLF but postfix (and other MTAs?)
|
||||
// think different
|
||||
if(!defined('MAILHEADER_EOL')) define('MAILHEADER_EOL',"\n");
|
||||
#define('MAILHEADER_ASCIIONLY',1);
|
||||
// end of line for mail lines - RFC822 says CRLF but postfix (and other MTAs?)
|
||||
// think different
|
||||
if(!defined('MAILHEADER_EOL')) define('MAILHEADER_EOL',"\n");
|
||||
#define('MAILHEADER_ASCIIONLY',1);
|
||||
|
||||
/**
|
||||
* Patterns for use in email detection and validation
|
||||
|
|
|
@ -6,9 +6,8 @@
|
|||
* @author Andreas Gohr <andi@splitbrain.org>
|
||||
*/
|
||||
|
||||
if(!defined('DOKU_INC')) define('DOKU_INC',fullpath(dirname(__FILE__).'/../').'/');
|
||||
if(!defined('DOKU_INC')) die('meh.');
|
||||
if(!defined('NL')) define('NL',"\n");
|
||||
|
||||
require_once(DOKU_INC.'inc/html.php');
|
||||
require_once(DOKU_INC.'inc/search.php');
|
||||
require_once(DOKU_INC.'inc/JpegMeta.php');
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
<?php
|
||||
if(!defined('DOKU_INC')) define('DOKU_INC',fullpath(dirname(__FILE__).'/../../').'/');
|
||||
|
||||
if(!defined('DOKU_INC')) die('meh.');
|
||||
if (!defined('DOKU_PARSER_EOL')) define('DOKU_PARSER_EOL',"\n"); // add this to make handling test cases simpler
|
||||
|
||||
class Doku_Handler {
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
/**
|
||||
* Init path constant
|
||||
*/
|
||||
if(!defined('DOKU_INC')) define('DOKU_INC',fullpath(dirname(__FILE__).'/../../').'/');
|
||||
if(!defined('DOKU_INC')) die('meh.');
|
||||
|
||||
/**#@+
|
||||
* lexer mode constant
|
||||
|
|
|
@ -4,8 +4,7 @@
|
|||
*
|
||||
* @author Esther Brunner <wikidesign@gmail.com>
|
||||
*/
|
||||
|
||||
if(!defined('DOKU_INC')) define('DOKU_INC',fullpath(dirname(__FILE__).'/../../').'/');
|
||||
if(!defined('DOKU_INC')) die('meh.');
|
||||
|
||||
if ( !defined('DOKU_LF') ) {
|
||||
// Some whitespace to help View > Source
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
<?php
|
||||
|
||||
if(!defined('DOKU_INC')) define('DOKU_INC',fullpath(dirname(__FILE__).'/../../').'/');
|
||||
|
||||
if(!defined('DOKU_INC')) die('meh.');
|
||||
require_once DOKU_INC . 'inc/parser/lexer.php';
|
||||
require_once DOKU_INC . 'inc/parser/handler.php';
|
||||
|
||||
|
|
|
@ -5,8 +5,7 @@
|
|||
* @author Harry Fuecks <hfuecks@gmail.com>
|
||||
* @author Andreas Gohr <andi@splitbrain.org>
|
||||
*/
|
||||
if(!defined('DOKU_INC')) define('DOKU_INC',fullpath(dirname(__FILE__).'/../../').'/');
|
||||
|
||||
if(!defined('DOKU_INC')) die('meh.');
|
||||
require_once DOKU_INC . 'inc/parser/renderer.php';
|
||||
require_once DOKU_INC . 'inc/plugin.php';
|
||||
require_once DOKU_INC . 'inc/pluginutils.php';
|
||||
|
|
|
@ -5,8 +5,7 @@
|
|||
* @author Harry Fuecks <hfuecks@gmail.com>
|
||||
* @author Andreas Gohr <andi@splitbrain.org>
|
||||
*/
|
||||
|
||||
if(!defined('DOKU_INC')) define('DOKU_INC',fullpath(dirname(__FILE__).'/../../').'/');
|
||||
if(!defined('DOKU_INC')) die('meh.');
|
||||
|
||||
if ( !defined('DOKU_LF') ) {
|
||||
// Some whitespace to help View > Source
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
<?php
|
||||
if(!defined('DOKU_INC')) define('DOKU_INC',fullpath(dirname(__FILE__).'/../../').'/');
|
||||
|
||||
if(!defined('DOKU_INC')) die('meh.');
|
||||
require_once DOKU_INC . 'inc/parser/xhtml.php';
|
||||
|
||||
/**
|
||||
|
|
|
@ -7,12 +7,11 @@
|
|||
* @author Andreas Gohr <andi@splitbrain.org>
|
||||
*/
|
||||
|
||||
if(!defined('DOKU_INC')) define('DOKU_INC',fullpath(dirname(__FILE__).'/../').'/');
|
||||
|
||||
require_once(DOKU_INC.'inc/confutils.php');
|
||||
require_once(DOKU_INC.'inc/pageutils.php');
|
||||
require_once(DOKU_INC.'inc/pluginutils.php');
|
||||
require_once(DOKU_INC.'inc/cache.php');
|
||||
if(!defined('DOKU_INC')) die('meh.');
|
||||
require_once(DOKU_INC.'inc/confutils.php');
|
||||
require_once(DOKU_INC.'inc/pageutils.php');
|
||||
require_once(DOKU_INC.'inc/pluginutils.php');
|
||||
require_once(DOKU_INC.'inc/cache.php');
|
||||
|
||||
/**
|
||||
* Returns the parsed Wikitext in XHTML for the given id and revision.
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
* @author Andreas Gohr <andi@splitbrain.org>
|
||||
*/
|
||||
|
||||
if(!defined('DOKU_INC')) define('DOKU_INC',fullpath(dirname(__FILE__).'/../').'/');
|
||||
require_once(DOKU_INC.'inc/common.php');
|
||||
if(!defined('DOKU_INC')) die('meh.');
|
||||
require_once(DOKU_INC.'inc/common.php');
|
||||
|
||||
/**
|
||||
* recurse direcory
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
* @author Andreas Gohr <andi@splitbrain.org>
|
||||
*/
|
||||
|
||||
if(!defined('DOKU_INC')) define('DOKU_INC',fullpath(dirname(__FILE__).'/../').'/');
|
||||
require_once(DOKU_CONF.'dokuwiki.php');
|
||||
if(!defined('DOKU_INC')) die('meh.');
|
||||
require_once(DOKU_CONF.'dokuwiki.php');
|
||||
|
||||
/**
|
||||
* Returns the path to the given template, uses
|
||||
|
|
|
@ -6,8 +6,7 @@
|
|||
* @author Andreas Gohr <andi@splitbrain.org>
|
||||
*/
|
||||
|
||||
if(!defined('DOKU_INC')) define('DOKU_INC',fullpath(dirname(__FILE__).'/../').'/');
|
||||
|
||||
if(!defined('DOKU_INC')) die('meh.');
|
||||
require_once(DOKU_INC.'inc/JSON.php');
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue