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

From: Date: Wed, 31 Mar 2010 23:03:10 +0000
Subject: svn: /web/doc-editor/trunk/php/ ExtJsController.php
Groups: php.doc.web 
Request: Send a blank email to doc-web+get-1722@lists.php.net to get a copy of this message
yannick Wed, 31 Mar 2010 23:03:10 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=297247 Log: Only warn about encoding problem for en and LANG files ; Spotted by yawk Changed paths: U web/doc-editor/trunk/php/ExtJsController.php Modified: web/doc-editor/trunk/php/ExtJsController.php =================================================================== --- web/doc-editor/trunk/php/ExtJsController.php 2010-03-31 23:01:38 UTC (rev 297246) +++ web/doc-editor/trunk/php/ExtJsController.php 2010-03-31 23:03:10 UTC (rev 297247) @@ -629,8 +629,8 @@ } else { $return['content'] = iconv($encoding, "UTF-8", $content); - // We mark this file to be automatically modified by codemirror - $return['warn_encoding'] = true; + // We mark this file to be automatically modified by codemirror only if this file is a lang file. + if( RepositoryManager::getInstance()->isValidLanguage($FileLang) ) { $return['warn_encoding'] = true; } }

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