Turn off smarty compile check for production
Turn off smarty compile check for production

file:a/index.php -> file: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