Avoid errors on first run

This commit is contained in:
Justin Foell
2017-05-10 14:23:11 -05:00
parent 5cd0a60649
commit 37816d12b8
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -28,7 +28,7 @@
define( 'WPSTRAVA_PLUGIN_DIR', trailingslashit( dirname( __FILE__) ) );
define( 'WPSTRAVA_PLUGIN_URL', plugins_url( '/', __FILE__ ) );
define( 'WPSTRAVA_PLUGIN_NAME', plugin_basename(__FILE__) );
define( 'WPSTRAVA_DEBUG', false );
if ( ! defined( 'WPSTRAVA_DEBUG' ) ) define( 'WPSTRAVA_DEBUG', false );
// Load the multilingual support.
if( file_exists( WPSTRAVA_PLUGIN_DIR . 'lang/' . get_locale() . '.mo' ) ) {