Thread: [Openupload-svn-update] SF.net SVN: openupload:[294] branches/v0.4/www/setup.inc.php
Status: Beta
Brought to you by:
tsdogs
|
From: <ts...@us...> - 2009-03-09 15:31:52
|
Revision: 294
http://openupload.svn.sourceforge.net/openupload/?rev=294&view=rev
Author: tsdogs
Date: 2009-03-09 15:31:50 +0000 (Mon, 09 Mar 2009)
Log Message:
-----------
fix permissions for first setup
Modified Paths:
--------------
branches/v0.4/www/setup.inc.php
Modified: branches/v0.4/www/setup.inc.php
===================================================================
--- branches/v0.4/www/setup.inc.php 2009-03-09 15:26:46 UTC (rev 293)
+++ branches/v0.4/www/setup.inc.php 2009-03-09 15:31:50 UTC (rev 294)
@@ -279,7 +279,7 @@
'acl' => array (
array('id' => 5, 'module' => 'auth', 'action' => 'register', 'group_name' => '%5', 'access' => 'allow' ),
array('id' => 6, 'module' => 'auth', 'action' => '*', 'group_name' => '%5', 'access' => 'deny' ),
- array('id' => 7, 'module' => 'auth', 'action' => '*', 'group_name' => 'register', 'access' => 'deny' ),
+ array('id' => 7, 'module' => 'auth', 'action' => 'register 'group_name' => '*', 'access' => 'deny' ),
array('id' => 8, 'module' => 'auth', 'action' => '*', 'group_name' => '*', 'access' => 'deny' ),
array('id' => 9, 'module' => 'files', 'action' => 'l', 'group_name' => '%5', 'access' => 'deny' ),
array('id' => 10, 'module' => 'files', 'action' => '*', 'group_name' => '*', 'access' => 'allow' ),
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ts...@us...> - 2009-04-18 10:50:11
|
Revision: 300
http://openupload.svn.sourceforge.net/openupload/?rev=300&view=rev
Author: tsdogs
Date: 2009-04-18 10:50:00 +0000 (Sat, 18 Apr 2009)
Log Message:
-----------
Jochen Derwae - a few html fixes
Modified Paths:
--------------
branches/v0.4/www/setup.inc.php
Modified: branches/v0.4/www/setup.inc.php
===================================================================
--- branches/v0.4/www/setup.inc.php 2009-03-27 18:56:22 UTC (rev 299)
+++ branches/v0.4/www/setup.inc.php 2009-04-18 10:50:00 UTC (rev 300)
@@ -1,5 +1,41 @@
<?php
+/**
+ * Project: OpenUpload
+ * File: index.php
+ *
+ * LICENSE:
+ *
+ * Copyright 2008-2009 Alessandro Briosi
+ *
+ * This file is part of OpenUpload.
+ *
+ * OpenUpload is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * OpenUpload is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with OpenUpload; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
+ * @link http://openupload.sf.net/
+ * @copyright 2008 Alessandro Briosi
+ * @author Alessandro Briosi <tsdogs at briosix dot org>
+ * @package OpenUpload
+ * @version 0.4
+ *
+ * 2009-04-16 - Jochen Derwae - www.coaladesign.com
+ * There was a small inconsistency in the html code at the bottom: body start tag was missing,
+ * head was closed before the styles and the root div wasn't closed
+ */
+
+
if (!defined('__VALID_CALLING_SCRIPT')) die('DIRECT ACCESS IS DENIED');
ob_start();
@@ -223,11 +259,11 @@
array ( 'id' => 2, 'ip' => '0.0.0.0/0', 'access' => 'allow', 'priority' => 9999999),
),
'langs' => array (
- array ('id' => 'en', 'name' => 'English', 'locale' => 'en_EN', 'browser' => '[en];[en-EN];[en-US]', 'charset' => 'utf8', 'active' => 1),
- array ('id' => 'it', 'name' => 'Italiano', 'locale' => 'it_IT.utf8', 'browser' => '[it];[it-IT]', 'charset' => 'utf8', 'active' => 1),
- array ('id' => 'fr', 'name' => 'Français', 'locale' => 'fr_FR.utf8', 'browser' => '[fr];[fr-FR]', 'charset' => 'utf8', 'active' => 1),
- array ('id' => 'de', 'name' => 'Deutsch', 'locale' => 'de_DE.utf8', 'browser' => '[de];[de-DE]', 'charset' => 'utf8', 'active' => 1),
- array ('id' => 'zh_CN', 'name' => '中文', 'locale' => 'zh_CN.utf8', 'browser' => '[zh];[zh-CN]', 'charset' => 'utf8', 'active' => 1),
+ array ('id' => 'en', 'name' => 'English', 'locale' => 'en_EN', 'browser' => '[en];[en-EN];[en-US]', 'charset' => 'utf-8', 'active' => 1),
+ array ('id' => 'it', 'name' => 'Italiano', 'locale' => 'it_IT.utf8', 'browser' => '[it];[it-IT]', 'charset' => 'utf-8', 'active' => 1),
+ array ('id' => 'fr', 'name' => 'Français', 'locale' => 'fr_FR.utf8', 'browser' => '[fr];[fr-FR]', 'charset' => 'utf-8', 'active' => 1),
+ array ('id' => 'de', 'name' => 'Deutsch', 'locale' => 'de_DE.utf8', 'browser' => '[de];[de-DE]', 'charset' => 'utf-8', 'active' => 1),
+ array ('id' => 'zh_CN', 'name' => '中文', 'locale' => 'zh_CN.utf8', 'browser' => '[zh];[zh-CN]', 'charset' => 'utf-8', 'active' => 1),
),
'users' => array (
array ( 'id' => 1, 'login' => '%1', 'password' => '%2', 'name' => 'Administrator', 'group_name' => '%3', 'email' => '%6',
@@ -548,7 +584,7 @@
<TD><input type="text" name="www_root" size="50" value="<?php echo $CONFIG['WWW_ROOT']; ?>"></TD></TR>
<TR><TD>DATA PATH:</TD>
<TD><input type="text" name="data_path" size="50" value="<?php echo $CONFIG['DATA_PATH']; ?>"></TD></TR>
-<TR><TD colspan="2"><input type="submit" value="Next >>"</TD></TR>
+<TR><TD colspan="2"><input type="submit" value="Next >>"></TD></TR>
</table>
</form>
<?php
@@ -1452,7 +1488,7 @@
?>
<html>
-<head><TITLE>OpenUpload Setup Script</TITLE></head>
+<head><TITLE>OpenUpload Setup Script</TITLE>
<style>
body {
font-family: Helvetica, Arial;
@@ -1547,6 +1583,8 @@
text-decoration: none;
}
</style>
+</head>
+<body>
<div>
<div id="header">
<div id="logo"><img src="<?php echo $path; ?>/img/openupload.jpg" border="0"></div>
@@ -1592,5 +1630,6 @@
<br /> <br />
<!-- footer -->
<div id="footer"><a href="http://openupload.sf.net">Open Upload</a> - Created by Alessandro Briosi © 2009</div>
+</div>
</body>
</html>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ts...@us...> - 2009-07-03 17:31:36
|
Revision: 329
http://openupload.svn.sourceforge.net/openupload/?rev=329&view=rev
Author: tsdogs
Date: 2009-07-03 17:31:29 +0000 (Fri, 03 Jul 2009)
Log Message:
-----------
paleative fix for mysql not accepting "" as value for a date. (must test on other dbs)
Modified Paths:
--------------
branches/v0.4/www/setup.inc.php
Modified: branches/v0.4/www/setup.inc.php
===================================================================
--- branches/v0.4/www/setup.inc.php 2009-06-16 17:02:03 UTC (rev 328)
+++ branches/v0.4/www/setup.inc.php 2009-07-03 17:31:29 UTC (rev 329)
@@ -267,7 +267,7 @@
),
'users' => array (
array ( 'id' => 1, 'login' => '%1', 'password' => '%2', 'name' => 'Administrator', 'group_name' => '%3', 'email' => '%6',
- 'lang' => 'en', 'reg_date' => '', 'regid' => '', 'active' => 1 ),
+ 'lang' => 'en', 'reg_date' => '2009-01-01', 'regid' => '', 'active' => 1 ),
),
'plugin_acl' => array (
array ( 'id' => '1', 'group_name' => '%3', 'plugin' => 'password', 'access' => 'enable'),
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|