Commit 9872daf2 authored by Christian Jul Jensen's avatar Christian Jul Jensen
Browse files

* Added parameter to function in t3lib_install that enables you to write to other localconf's than the canonical.


git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@682 709f56b5-9817-0410-a4d7-c38de5d9e867
parent 1a2b06c5
2005-04-28 Christian Jul Jensen <julle(at)typo3(dot)org>
* Added parameter to function in t3lib_install that enables you to write to other localconf's than the canonical.
2005-04-28 Kasper Skårhøj,,, <kasper@typo3.com>
* Added search in Extension Manager for extensions locally.
......
......@@ -177,11 +177,12 @@ class t3lib_install {
* Writes or returns lines from localconf.php
*
* @param array Array of lines to write back to localconf.php. Possibly
* @param string Absolute path of alternative file to use (Notice: this path is not validated in terms of being inside 'TYPO3 space')
* @return mixed If $inlines is not an array it will return an array with the lines from localconf.php. Otherwise it will return a status string, either "continue" (updated) or "nochange" (not updated)
* @see setValueInLocalconfFile()
*/
function writeToLocalconf_control($inlines='') {
$writeToLocalconf_dat['file'] = PATH_typo3conf.'localconf.php';
function writeToLocalconf_control($inlines='',$AbsFullPath='') {
$writeToLocalconf_dat['file'] = $fileFullPath?$fileFullPath:PATH_typo3conf.'localconf.php';
// Checking write state of localconf.php:
if (!$this->allowUpdateLocalConf) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment