Cleanups and some fixes #12
Loading…
Reference in a new issue
No description provided.
Delete branch "cleanups/chmod-e_notice_white-space"
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?
This PR fixes CHMOD on non-executable files + an
E_NOTICE
inboot.php
. It also renamed.htconfig.php
as ignored files should never be committed (and this one contains sensitive informations). If only the line in.gitignore
is removed, sensitive information can be committed and consequently published.I also gave all JavaScript files a separate folder so "include" (if no longer needed) can be secured by .htaccess file (
Deny from all
should be okay).The JavaScript library "Raphael" (or so?) is now residing in an own sub folder.
Most changes on those 185 files are CHMOD, don't wonder about it. :-)
Can you please leave the $baseurl for eventual subfolder urls (like
/servers
)?The "dist" file is called
htconfig.php
without the dot in Friendica. I think it should be the same here.Be sure to have a look at https://github.com/Beanow/dir/tree/feature/redesign-prototype as well. There I had added
/assets/js
as I also added other static files like fonts and style sheets to this folder.Okay, will rename it when I'm home.
There is
<base href="$baseurl" />
in line 2 which sets the base URL for all other URLs. I can test it at home where it will definedly be in a sub folder.@Beanow so I move them to
/asset/js/
and later try to merge your changes into mine?That would be great. I don't use
<base>
because I prefer explicit absolute paths to implicit prepending, but I reckon it would work.Okay, I didn't know that. I saw the same in
Friendica
and thought this might be the same here, too.I guess this are two different philosophies :-) I'm more with the
<base>
stuff.This PR has been included in the redesign-prototype branch I'm running right now.
Pull request closed