Commit Graph

16 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 522cc7bb17 Fix display issues
- Add baseurl to widgets search links
- Add aside to search page
- Fix number of available profiles in country widgets
2018-01-14 22:22:37 -05:00
Hypolite Petovan c6d60df8ac Fix health page not working
- Fix formatting
- Add references to App
- Fix parse error
- Fix a bunch of notices
- Remove inexplicable killme() for *_content pages preventing them from
displaying
2017-08-01 21:06:33 -04: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 2cabf7f37b Generalize the use of killme()
- Add fail condition to q()
2017-05-12 00:05:06 -04:00
Hypolite Petovan 381e68edc7 Remove closedb() 2017-05-12 00:04:37 -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
Hypolite Petovan a8dc2e65f4 Merge branch 'master' into feature/redesign-prototype
# Conflicts:
#	.gitignore
#	.htconfig.php
#	.htconfig.php-dist
#	boot.php
#	include/dba.php
#	mod/health.php
#	util/htconfig.vagrant.php
2017-04-20 22:33:41 -04:00
Hypolite Petovan 783c15c207 Fix PHP notices all around
- Improve SQL query formatting
- Revert spaces to tabs after PHP CS Fixer
2017-04-20 21:41:47 -04:00
Hypolite Petovan 34a5adb9e9 Enforce coding standards in index.php 2017-04-20 19:53:51 -04: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
Beanow 1febb1a414 Switched to composer generated autoloader. 2015-02-08 18:24:49 +01:00
Beanow dd6987ff02 This is an example of autoloading classes and including unit tests. 2014-10-11 00:13:59 +02:00
friendica ed1d37658e move some things around 2012-06-12 17:57:17 -07:00
friendica ea309f20ee initial 2012-05-15 22:31:36 -07:00