Skip to content

Add Doctype in each file, clean up index.php#236

Merged
rimas-kudelis merged 2 commits into
masterfrom
fix_http
Apr 12, 2017
Merged

Add Doctype in each file, clean up index.php#236
rimas-kudelis merged 2 commits into
masterfrom
fix_http

Conversation

@Udera

@Udera Udera commented Apr 3, 2017

Copy link
Copy Markdown
Collaborator

Put <!DOCTYPE html> to each file.

index.php:

@Udera Udera added this to the Version 2.3.1 milestone Apr 3, 2017
Comment thread vexim/config/httpheaders.php Outdated
session_start();
header("Cache-control: private"); // IE6 hack to back forms + BACK button work
header("Content-Type: text/html; charset=utf-8");
print '<!DOCTYPE html>';

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have files which include httpheaders.php, but issue further header() calls. If you want this doctype, you should add it before the <html> tag to the files that have that tag.

@Udera

Udera commented Apr 5, 2017

Copy link
Copy Markdown
Collaborator Author

A bit of shell scripting later ...

@rimas-kudelis rimas-kudelis merged commit 1d1d393 into master Apr 12, 2017
@rimas-kudelis rimas-kudelis deleted the fix_http branch April 12, 2017 15:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants