Jump to content

override di authcontroller


Recommended Posts

ciao a tutti, devo fare l'override del file authcontroller.php, cosi ho messo il mio nuovo file in override/controllers/front/autocontrollers.php

nel file ho

<?php
class AuthController extends AuthControllerCore
{
protected function sendConfirmationMail(Customer $customer){
[....]
}
}
?>

ma non mi entra nella funzione, presumo non faccia l'override correttamente.

sapete dirmi dove sbaglio?

Link to comment
Share on other sites

  • 4 months later...

come spiegato nel override/readme_override.txt devi

 

eliminare il file /cache/class_index.php file

 

questo file esiste se hai la cache attiva nel tuo shop

 

il documentino dice:

 

A: You need to trigger the regeneration of the /cache/class_index.php file. This is done simply by deleting the file. It is the same when manually removing an override: in order to reinstate the default behavior, you must delete the /cache/class_index.php file.

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...