Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Make file extension optional when constructing new View class #10

Copy link
Copy link

Description

@genius257
Issue body actions

$this->viewContent = $this->requireToVar($this->view.'.php');

currently the extension MUST be omitted and .php is always assumed.
A file exists call should be made first, where if not existing, the file with the .php extension should be appended to the file name, used in the require call.

Reactions are currently unavailable

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

Morty Proxy This is a proxified and sanitized view of the page, visit original site.