Line 495... |
Line 495... |
495 |
|
495 |
|
496 |
var $treeView = true; |
496 |
var $treeView = true; |
497 |
var $flatIndex = true; |
497 |
var $flatIndex = true; |
498 |
var $openTree = false; |
498 |
var $openTree = false; |
499 |
var $serverIsWindows = false; |
499 |
var $serverIsWindows = false; |
- |
|
500 |
var $phpCompatEnabled = false; |
500 |
var $cacheResults = false; |
501 |
var $cacheResults = false; |
501 |
var $multiViews = false; |
502 |
var $multiViews = false; |
502 |
var $useEnscript = false; |
503 |
var $useEnscript = false; |
503 |
var $allowDownload = false; |
504 |
var $allowDownload = false; |
504 |
var $minDownloadLevel = 0; |
505 |
var $minDownloadLevel = 0; |
Line 522... |
Line 523... |
522 |
var $inputEnc = ""; // Encoding of output returned from command line |
523 |
var $inputEnc = ""; // Encoding of output returned from command line |
523 |
var $contentEnc = ""; // Encoding of repository content |
524 |
var $contentEnc = ""; // Encoding of repository content |
524 |
var $outputEnc = "UTF-8"; // Encoding of web page. Now forced to UTF-8 |
525 |
var $outputEnc = "UTF-8"; // Encoding of web page. Now forced to UTF-8 |
525 |
|
526 |
|
526 |
var $quote = "'"; |
527 |
var $quote = "'"; |
- |
|
528 |
var $pathSeparator = ":"; |
527 |
|
529 |
|
528 |
var $_repositories; |
530 |
var $_repositories; |
529 |
|
531 |
|
530 |
// }}} |
532 |
// }}} |
531 |
|
533 |
|
Line 595... |
Line 597... |
595 |
// We assume, as a default, that the encoding of the repository contents is |
597 |
// We assume, as a default, that the encoding of the repository contents is |
596 |
// in iso-8859-1, to be compatible with compilers and the like. |
598 |
// in iso-8859-1, to be compatible with compilers and the like. |
597 |
$this->setInputEncoding("CP$cp", "iso-8859-1"); |
599 |
$this->setInputEncoding("CP$cp", "iso-8859-1"); |
598 |
|
600 |
|
599 |
// On Windows machines, use double quotes around command line parameters |
601 |
// On Windows machines, use double quotes around command line parameters |
600 |
|
- |
|
601 |
$this->quote = '"'; |
602 |
$this->quote = '"'; |
- |
|
603 |
|
- |
|
604 |
// On Windows, semicolon separates path entries in a list rather than colon. |
- |
|
605 |
$this->pathSeparator = ";"; |
- |
|
606 |
} |
- |
|
607 |
|
- |
|
608 |
// }}} |
- |
|
609 |
|
- |
|
610 |
// {{{ setPHPCompatEnabled |
- |
|
611 |
// |
- |
|
612 |
// Used for PHP4 |
- |
|
613 |
|
- |
|
614 |
function setPHPCompatEnabled() { |
- |
|
615 |
$this->phpCompatEnabled = true; |
- |
|
616 |
} |
- |
|
617 |
|
- |
|
618 |
function isPHPCompatEnabled() { |
- |
|
619 |
return $this->phpCompatEnabled; |
602 |
} |
620 |
} |
603 |
|
621 |
|
604 |
// }}} |
622 |
// }}} |
605 |
|
623 |
|
606 |
// {{{ Caching |
624 |
// {{{ Caching |