From 4fdaa3dc5cf3c23d2bbbabedcc686d2b4ccbba07 Mon Sep 17 00:00:00 2001 From: jkkn Date: Fri, 2 Nov 2007 11:35:59 +0000 Subject: [PATCH] disabled pdolog link --- content/tv2developer.js | 16 +++++++++------- version | 2 +- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/content/tv2developer.js b/content/tv2developer.js index efc1c02..9d0f098 100755 --- a/content/tv2developer.js +++ b/content/tv2developer.js @@ -361,13 +361,15 @@ var TV2Developer = { } // Add run pdo_log link - if ((onI2interface != 'tool/pdo_log/frameset') && - ((!tv2_testsite && php5) || // only php5 live sites - (tv2_testsite && tv2_testsite != 'snapshot3' && tv2_testsite != 'test3'))) { /* not supported on php4 sites */ - links.push(new this.TV2LinkWithLabel('tool/pdo_log/frameset', this.getStr('performDbPdoLog'), - i2link + '/tool/pdo_log/frameset.php?url='+tango+'&autostop=1&prefix='+initials, - this.getStr('performDbPdoLog.accesskey'), - 'flushCache')); + if (this.getPref('enable-secret', false)) { + if ((onI2interface != 'tool/pdo_log/frameset') && + ((!tv2_testsite && php5) || // only php5 live sites + (tv2_testsite && tv2_testsite != 'snapshot3' && tv2_testsite != 'test3'))) { /* not supported on php4 sites */ + links.push(new this.TV2LinkWithLabel('tool/pdo_log/frameset', this.getStr('performDbPdoLog'), + i2link + '/tool/pdo_log/frameset.php?url='+tango+'&autostop=1&prefix='+initials, + this.getStr('performDbPdoLog.accesskey'), + 'flushCache')); + } } if (onI2interface_url) { diff --git a/version b/version index 2228cad..fae59ca 100644 --- a/version +++ b/version @@ -1 +1 @@ -0.6.7 +0.6.8 -- 2.52.0