[limb-svn] r6752 - 3.x/trunk/limb/wysiwyg/src/wact
svn at limb-project.com
svn at limb-project.com
Sun Jan 27 16:03:19 MSK 2008
Author: alex433
Date: 2008-01-27 16:03:19 +0300 (Sun, 27 Jan 2008)
New Revision: 6752
URL: http://fisheye.limb-project.com/changelog/limb/?cs=6752
Modified:
3.x/trunk/limb/wysiwyg/src/wact/wysiwyg.tag.php
Log:
-- fixing variable name, more strong error handling.
Modified: 3.x/trunk/limb/wysiwyg/src/wact/wysiwyg.tag.php
===================================================================
--- 3.x/trunk/limb/wysiwyg/src/wact/wysiwyg.tag.php 2008-01-25 13:38:49 UTC (rev 6751)
+++ 3.x/trunk/limb/wysiwyg/src/wact/wysiwyg.tag.php 2008-01-27 13:03:19 UTC (rev 6752)
@@ -31,12 +31,12 @@
try
{
$ini = lmbToolkit :: instance()->getConf('wact_wysiwyg.ini');
- $this->init_file_name = 'wact_wysiwyg.ini';
+ $this->ini_file_name = 'wact_wysiwyg.ini';
}
- catch(lmbException $e){}
-
- if(!$ini)
+ catch(lmbFileNotFoundException $e)
+ {
$ini = lmbToolkit :: instance()->getConf('wysiwyg.ini');
+ }
if(($this->profile = $this->getAttribute('profile')) == '' &&
($this->profile = $ini->getOption('profile')) == '')
More information about the limb-svn
mailing list