install/install.php
changeset 850 ccedb36dd929
parent 801 eb8b23f11744
child 876 aed15c337b72
--- a/install/install.php	Sun Mar 01 22:52:31 2009 -0500
+++ b/install/install.php	Mon Mar 02 16:45:28 2009 -0500
@@ -18,7 +18,12 @@
 
 define('IN_ENANO', 1);
 // DEFINE THIS BEFORE RELEASE!
-define('ENANO_DANGEROUS', 1);
+$dangerous = true;
+if ( !empty($_GET['do']) )
+  if ( $_GET['do'] === 'lang_js' )
+    $dangerous = false;
+if ( $dangerous )
+  define('ENANO_DANGEROUS', 1);
 
 require_once('includes/common.php');
 @ini_set('display_errors', 'on');