Commit Graph

7 Commits

Author SHA1 Message Date
Roland Häder e13182d913
Some cleanups:
- "use" should be executed before any other line (except strict mode line)
- "import" App class before use it
- sure braces with "new" operator as this invokes the constructor
2019-01-03 22:54:57 +01:00
Hypolite Petovan 4601c4bd8a Fix "PHP Warning: session_write_close(): Failed to write session data (user)" errors
- Changed returning true when there's a session ID but no session data
in ref_session_write()
- Moved session.php requires around
2017-08-01 21:02:24 -04:00
Hypolite Petovan f297c670b3 Move App to src 2017-05-01 23:09:26 -04:00
Hypolite Petovan 68c1939d12 Enforcing standards ahead of moving App to src 2017-05-01 22:57:21 -04:00
Roland Häder 12e4bff880
Continued with cleanups:
- removed some empty lines at bottom of files
- added new-line character at end of file (as this else may confuse some old
  editors)
- moved JavaScript files out of "include" into own "js"
- if you set <basename>, you don't need full URLs in linked JavaScript files
  and CSS files

Signed-off-by: Roland Haeder <roland@mxchange.org>
2017-03-01 20:19:12 +01:00
Roland Häder c353b31569
Cleanups:
- don't commit files that are being ignored, better provide a "template" file
  that needs copying to the right file and ignore the file that will have local
  changes like config files will always have.
- fixed CHMOD, no need for executable flag here as the server won't execute
  these files, but only load (read) them
- fixed E_NOTICE in boot.php when entrance/index page (no parameter) is being
  called

Signed-off-by: Roland Haeder <roland@mxchange.org>
2017-03-01 20:00:32 +01:00
friendica ea309f20ee initial 2012-05-15 22:31:36 -07:00