|
From: <rgr...@us...> - 2014-06-18 17:18:34
|
Revision: 12618
http://sourceforge.net/p/xoops/svn/12618
Author: rgriffith
Date: 2014-06-18 17:18:31 +0000 (Wed, 18 Jun 2014)
Log Message:
-----------
For use on servers where write to root is not possible.
Added Paths:
-----------
XoopsCore/branches/2.5.x/2.5.7/extras/mainfile.php
Added: XoopsCore/branches/2.5.x/2.5.7/extras/mainfile.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/extras/mainfile.php (rev 0)
+++ XoopsCore/branches/2.5.x/2.5.7/extras/mainfile.php 2014-06-18 17:18:31 UTC (rev 12618)
@@ -0,0 +1,19 @@
+<?php
+/**
+ * This is a dummy placeholder for mainfile.php, the XOOPS configuration file
+ *
+ * This is only needed for installation on servers that cannot write a file directly
+ * into the main XOOPS root directory. On these servers, the install will stop
+ * progressing after configuring the database (install/page_dbconnection.php)
+ *
+ * If you experience this problem:
+ * - copy this file to the XOOPS root directory
+ * - set the file permissions to make it writeable
+ * - rerun the install
+ *
+ * Typical writable permission would be 665 (user read/write, group read/write, other read)
+ * If problems persist, escalate permission to 777 (world read/write/execute) as a last resort.
+ */
+if (! defined('XOOPS_INSTALL')) {
+ header('Location: install/index.php');
+}
|