[Phpfreechat-svn] SF.net SVN: phpfreechat: [876] trunk/src/pfccommand.class.php
Status: Beta
Brought to you by:
kerphi
From: <ke...@us...> - 2006-11-21 18:13:14
|
Revision: 876 http://svn.sourceforge.net/phpfreechat/?rev=876&view=rev Author: kerphi Date: 2006-11-21 10:12:57 -0800 (Tue, 21 Nov 2006) Log Message: ----------- [en] Bug fix: on some servers (ex: free.fr), the file_exists php function throw a warning which break pfc [15min] [fr] Bug fix : sur certains serveurs (ex: free.fr), la fonction php file_exists produit un warning qui rend inutilisable pfc [15min] Modified Paths: -------------- trunk/src/pfccommand.class.php Modified: trunk/src/pfccommand.class.php =================================================================== --- trunk/src/pfccommand.class.php 2006-11-15 07:40:50 UTC (rev 875) +++ trunk/src/pfccommand.class.php 2006-11-21 18:12:57 UTC (rev 876) @@ -75,7 +75,7 @@ foreach($cmd_paths as $cp) { $cmd_filename = $cp."/".$cmd_name.".class.php"; - if (file_exists($cmd_filename)) require_once($cmd_filename); + if (@file_exists($cmd_filename)) require_once($cmd_filename); } } if (class_exists($cmd_classname)) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |