mirror of
https://github.com/opensolutions/ViMbAdmin.git
synced 2026-04-26 00:36:00 +03:00
[PR #218] [MERGED] Use DIRECTORY_SEPARATOR instead of DS #304
Labels
No labels
bug
feature
feature
improvement
improvement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ViMbAdmin-opensolutions#304
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/opensolutions/ViMbAdmin/pull/218
Author: @dereckson
Created: 12/28/2016
Status: ✅ Merged
Merged: 1/3/2017
Merged by: @barryo
Base:
master← Head:fix/DS📝 Commits (1)
78b755cUse DIRECTORY_SEPARATOR instead of DS📊 Changes
1 file changed (+2 additions, -1 deletions)
View changed files
📝
library/ViMbAdmin/Smarty/functions/modifier.date_formatter.php(+2 -1)📄 Description
The smarty_modifier_date_formatter function uses system path
to determine if the target OS is Windows.
PHP 4 introduced DIRECTORY_SEPARATOR, and DS isn't defined in
the current configuration and Smarty bootstrap process.
It so seems safe to switch to DIRECTORY_SEPARATOR.
Fixes #217.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.