Turn off smarty compile check for production
[gitphp.git] / index.php
blob:a/index.php -> blob:b/index.php
--- a/index.php
+++ b/index.php
@@ -48,6 +48,13 @@
 		define('GITPHP_START_TIME', microtime(true));
 		error_reporting(E_ALL|E_STRICT);
 	}
+ }
+
+/*
+ * Development
+ */
+ if (!(isset($gitphp_conf['dev']) && $gitphp_conf['dev'])) {
+ 	$tpl->compile_check = false;
  }
 
 /*

comments