Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Moved debug toggle from AppKernel to web/app_dev.php #929

Merged
merged 1 commit into from
Jan 29, 2014

Conversation

Im0rtality
Copy link
Contributor

AppKernel->init() was using deprecated classes and was duplicating code and is deprecated itself altogether. So moved code to where it belongs - app_dev.php.

https://github.com/symfony/symfony-standard/blob/master/app/AppKernel.php
https://github.com/symfony/symfony-standard/blob/master/web/app_dev.php

Also removed ini_set('date.time', 'UTC'); as should be already set in php.ini depending on server location (plus we have that set in puppet script):

https://github.com/Im0rtality/Sylius/blob/master/vagrant/manifests/default.pp#L118

Solves some SensioInsight major warnings.

This partially overlaps with #513, but last commit was 3 months ago.

@QuingKhaos
Copy link
Contributor

Also removed ini_set('date.time', 'UTC'); as should be already set in php.ini depending on server location (plus we have that set in puppet script):

Ah yes, now I know why all times were "false" according to my php.ini. Thanks.

@stloyd
Copy link
Contributor

stloyd commented Jan 29, 2014

@Im0rtality #513, is actualized quite often, it's just merged into first commit, so it's showing date "3 months ago"

stloyd added a commit that referenced this pull request Jan 29, 2014
Moved debug toggle from AppKernel to web/app_dev.php
@stloyd stloyd merged commit c5fb9dd into Sylius:master Jan 29, 2014
@stloyd
Copy link
Contributor

stloyd commented Jan 29, 2014

Merged, thanks! Will adjust to cover this changes in mentioned PR.

@pjedrzejewski
Copy link
Member

👍

@Im0rtality Im0rtality deleted the AppKernel/Debug branch January 29, 2014 11:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants