Plugin Designbest-ESW: differenze tra le versioni
Da Webmobili Wiki.
Creata pagina con "== Info == Nell'ambiente di ''test'', nel file <code>wp-config.php</code> inserire la costante <syntaxhighlight lang="php"> define( 'WP_DEBUG', true ); define( 'WP_DEBUG_LOG', true ); define( 'WP_DEBUG_DISPLAY', true ); define( 'WP_ENVIRONMENT_TYPE', 'staging' ); // mettere 'local' per sviluppo locale </syntaxhighlight>" |
Nessun oggetto della modifica |
||
| Riga 8: | Riga 8: | ||
define( 'WP_ENVIRONMENT_TYPE', 'staging' ); // mettere 'local' per sviluppo locale | define( 'WP_ENVIRONMENT_TYPE', 'staging' ); // mettere 'local' per sviluppo locale | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Per capire quale config.php del plugin va a leggere. | |||
Versione delle 13:36, 28 lug 2025
Info
Nell'ambiente di test, nel file wp-config.php inserire la costante
define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', true );
define( 'WP_ENVIRONMENT_TYPE', 'staging' ); // mettere 'local' per sviluppo locale
Per capire quale config.php del plugin va a leggere.