-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[4.0] Paths in configuration.php #24139
Comments
OSPanel download link |
Php handles this correct so not a problem? On windows the php api gives us \ as seperator and we add /tmp to this so it's a simple concat. The rest is done by php so no chance requiered. But if you like to write a PR to rewrite \ to / it will be considered. I closing this but you can always reopen it |
@HLeithner so you confirm that '/' is a bug? On Windows it should be |
My development system is windows
Windows happily writes the logs into that directory. So what is the problem that needs to be solved? |
can you give me an example component? that has this problem? |
whats the point in having an api if its not going to be used? |
there could be many reasons why you don't us the Joomla API, $path = 'c:\\temp\\test';
var_dump(is_dir($path));
$path = 'c:\\temp/test';
var_dump(is_dir($path));
@AlekVolsk and why do you delete your comments? Oh you edit your issue, sry didn't notice this. Please make comments. |
Long time Windows user. Never had a problem with paths like |
The only problem I can think of at the moment is if you try to manipulate the path, f.ex. removing parts of it. |
General bit of advice, any time a path is going to be shown to a user it's a good idea to run it through |
Such paths are not a bug. But you must admit, this is not the correct one. |
Set to "closed" on behalf of @jwaisner by The JTracker Application at issues.joomla.org/joomla-cms/24139 |
Closing as it is expected behavior and does not effect operation of the CMS outside of what is expected. This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/24139. |
Windows server
Multidirectional slashes in the paths in configuration.php
The same goes for global
JPATH_*
constants.Either use DIRECTORY_SEPARATOR constant or write
/
everywhere.The text was updated successfully, but these errors were encountered: