[Cs-content-commits] SF.net SVN: cs-content:[472] trunk/1.0/cs_fileSystem.class.php
PHP Templating & Includes System
Brought to you by:
crazedsanity
From: <cra...@us...> - 2010-04-14 22:54:39
|
Revision: 472 http://cs-content.svn.sourceforge.net/cs-content/?rev=472&view=rev Author: crazedsanity Date: 2010-04-14 22:54:33 +0000 (Wed, 14 Apr 2010) Log Message: ----------- Add "is_readable" and "is_writable" indexes to get_fileinfo(). Modified Paths: -------------- trunk/1.0/cs_fileSystem.class.php Modified: trunk/1.0/cs_fileSystem.class.php =================================================================== --- trunk/1.0/cs_fileSystem.class.php 2010-03-01 14:44:04 UTC (rev 471) +++ trunk/1.0/cs_fileSystem.class.php 2010-04-14 22:54:33 UTC (rev 472) @@ -204,7 +204,9 @@ "group" => @$this->my_getuser_group(filegroup($tFile), 'gid'), "gid" => @filegroup($tFile), "perms" => @$this->translate_perms(fileperms($tFile)), - "perms_num" => @substr(sprintf('%o', fileperms($tFile)), -4) + "perms_num" => @substr(sprintf('%o', fileperms($tFile)), -4), + "is_readable" => is_readable($tFile), + "is_writable" => is_writable($tFile) ); return($retval); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |