[pLog-svn] r618 - in plog/trunk: . templates/wizard

ork at devel.plogworld.net ork at devel.plogworld.net
Thu Dec 30 00:16:23 GMT 2004


Author: ork
Date: 2004-12-30 00:16:23 +0000 (Thu, 30 Dec 2004)
New Revision: 618

Modified:
   plog/trunk/templates/wizard/step5.template
   plog/trunk/wizard.php
Log:
added notice if safe mode is enabled. we might add a separate script
later on to change all file modes for safe mode.


Modified: plog/trunk/templates/wizard/step5.template
===================================================================
--- plog/trunk/templates/wizard/step5.template	2004-12-29 23:30:50 UTC (rev 617)
+++ plog/trunk/templates/wizard/step5.template	2004-12-30 00:16:23 UTC (rev 618)
@@ -8,7 +8,13 @@
   {$message}
   </p>
   </div>
+  {if $safeMode eq 1}
   <p>
+    <span style="color: red;">NOTICE: </span>
+    You have safe mode enabled. Please set the ownership of all files to the user running the webserver.
+  </p>
+  {/if}
+  <p>
    <span style="color:red">WARNING: </span>For security reasons, you must now remove this file, <b>wizard.php</b>. If you are
    not planning to allow internet users to create new blogs in this server, then you should also
    remove <b>summary.php</b>.<br/><br/>

Modified: plog/trunk/wizard.php
===================================================================
--- plog/trunk/wizard.php	2004-12-29 23:30:50 UTC (rev 617)
+++ plog/trunk/wizard.php	2004-12-30 00:16:23 UTC (rev 618)
@@ -612,6 +612,7 @@
             $v = new Version();
             $this->_params->setValue( "version", $v->getVersion());
             $this->_params->setValue( "projectPage", $v->getProjectPage());
+            $this->_params->setValue( "safeMode", ini_get("safe_mode"));
             $t->assign( $this->_params->getAsArray());
             $t->template_dir    = "./templates";
             $t->compile_dir     = TEMP_FOLDER;




More information about the pLog-svn mailing list