svn: /web/doc-editor/trunk/php/ LockFile.php

From: Date: Sun, 28 Mar 2010 19:54:12 +0000
Subject: svn: /web/doc-editor/trunk/php/ LockFile.php
Groups: php.doc.web 
Request: Send a blank email to doc-web+get-1691@lists.php.net to get a copy of this message
yannick Sun, 28 Mar 2010 19:54:12 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=296993 Log: Don't rename lock file & touch it into data folder instead of vcs module folder Changed paths: U web/doc-editor/trunk/php/LockFile.php Modified: web/doc-editor/trunk/php/LockFile.php =================================================================== --- web/doc-editor/trunk/php/LockFile.php 2010-03-28 19:53:01 UTC (rev 296992) +++ web/doc-editor/trunk/php/LockFile.php 2010-03-28 19:54:12 UTC (rev 296993) @@ -20,11 +20,11 @@ */ function __construct($id) { - $appConf = AccountManager::getInstance()->appConf; - $project = AccountManager::getInstance()->project; + $am = AccountManager::getInstance(); + $appConf = $am->appConf; $this->id = $id; - $this->path = $appConf[$project]['vcs.path'] . '.' . preg_replace('![^0-9a-z.]!i', '', $this->id); + $this->path = $appConf['GLOBAL_CONFIGURATION']['data.path'] . '.' . $this->id; } /**

« previous php.doc.web (#1691) next »