6.0.0-beta1
7/6/25

[#14689] Translation: Use is_dir() instead of file_exists()
Summary Translation: Use is_dir() instead of file_exists()
Queue Horde Framework Packages
Type Enhancement
State Resolved
Priority 1. Low
Owners jan (at) horde (dot) org
Requester thomas.jarosch (at) intra2net (dot) com
Created 09/14/2017 (2852 days ago)
Due
Updated 09/25/2017 (2841 days ago)
Assigned
Resolved 09/25/2017 (2841 days ago)
Milestone
Patch Yes

History
09/25/2017 03:25:07 PM Jan Schneider Comment #4
Assigned to Jan Schneider
State ⇒ Resolved
Reply to this comment
Thanks!
09/25/2017 03:24:56 PM Git Commit Comment #3 Reply to this comment
Changes have been made in Git (master):

commit a4426c8b7c94a6cd954758e299d799f3af47bc4a
Author: Thomas Jarosch <thomas.jarosch@intra2net.com>
Date:   Thu Sep 14 15:56:51 2017 +0200

     Use is_dir() to check for directories

     Request: 14689
     Signed-off-by: Jan Schneider <jan@horde.org>

  framework/Translation/lib/Horde/Translation/Autodetect.php | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)

http://github.com/horde/horde/commit/a4426c8b7c94a6cd954758e299d799f3af47bc4a
09/14/2017 02:15:44 PM Thomas Jarosch Comment #2
New Attachment: 0001-Use-is_dir-to-check-for-directories.patch Download
Reply to this comment
The patch.

09/14/2017 02:15:08 PM Thomas Jarosch Comment #1
Priority ⇒ 1. Low
Patch ⇒ Yes
Milestone ⇒
Queue ⇒ Horde Framework Packages
Summary ⇒ Translation: Use is_dir() instead of file_exists()
Type ⇒ Enhancement
State ⇒ New
Reply to this comment
when searching for locale *directories*, it's more correct
to use is_dir() instead of file_exists().

Saved Queries