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

how to use require_once in magento2 #1806

Closed
LifeAsBook opened this issue Sep 6, 2015 · 5 comments
Closed

how to use require_once in magento2 #1806

LifeAsBook opened this issue Sep 6, 2015 · 5 comments
Labels
Fixed in 2.4.x The issue has been fixed in 2.4-develop branch Issue: Format is not valid Gate 1 Failed. Automatic verification of issue format is failed

Comments

@LifeAsBook
Copy link

No description provided.

@sivaschenko
Copy link
Member

@LifeAsBook, could you describe the specific case where you'd like to use this function?

@LifeAsBook
Copy link
Author

@sivaschenko, thank you! i want to include the 3rd provided function that in a file.
2)another question may i to use $_GET and $_POST ?

@sivaschenko
Copy link
Member

@LifeAsBook I would recomend you to include required function within a class and get use of Magento autoload. As for $_GET and $_POST: it's better to use \Magento\Framework\App\RequestInterface::getParam instead

@LifeAsBook
Copy link
Author

thank you!

okorshenko pushed a commit that referenced this issue Dec 4, 2017
Public Pull Requests

#12530 Added correction for og:type content value by @atishgoswami
#12359 Add a --no-update option to sampledata:deploy and sampledata:remove commands by @schmengler
#11617 Re saving product attribute by @raumatbel
#11608 Fix for issue 9633 500 error on setup wizard with memcache by @sylink

Fixed Public Issues

#6770 M2.1.1 : Re-saving a product attribute with a different name than it's code results in an error
#9633 Web Setup Wizard 500 error when session storage is configured to use memcache
@magento-engcom-team magento-engcom-team added Fixed in 2.4.x The issue has been fixed in 2.4-develop branch Issue: Format is not valid Gate 1 Failed. Automatic verification of issue format is failed labels Sep 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Fixed in 2.4.x The issue has been fixed in 2.4-develop branch Issue: Format is not valid Gate 1 Failed. Automatic verification of issue format is failed
Projects
None yet
Development

No branches or pull requests

4 participants