aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2004-12-30 08:10:46 +0000
committerplegall <plg@piwigo.org>2004-12-30 08:10:46 +0000
commite57538219f07b8d7d8766560dce846fc4a1bff12 (patch)
tree67b555bae1614bcba90442efdb717358bcf366c4 /include
parentec152770fe82837a4785b790f860399b3d34329b (diff)
- bug fixed on upload : configuration variable $conf['upload_available'] has
disappeared - by default, new categories are not "uploadable" - bug fixed on date displayed from Unix format : trying to find seconds while not provided - bug fixed on admin/waiting template to center submit button git-svn-id: http://piwigo.org/svn/trunk@667 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include')
-rw-r--r--include/config.inc.php2
-rw-r--r--include/functions.inc.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/config.inc.php b/include/config.inc.php
index 08312eccc..1fee9c6ea 100644
--- a/include/config.inc.php
+++ b/include/config.inc.php
@@ -170,7 +170,7 @@ $conf['newcat_default_commentable'] = 'true';
// newcat_default_uploadable : at creation, must a category be uploadable or
// not ?
-$conf['newcat_default_uploadable'] = 'true';
+$conf['newcat_default_uploadable'] = 'false';
// newcat_default_visible : at creation, must a category be visible or not ?
// Warning : if the parent category is invisible, the category is
diff --git a/include/functions.inc.php b/include/functions.inc.php
index bb3979ae9..999b4f8b8 100644
--- a/include/functions.inc.php
+++ b/include/functions.inc.php
@@ -400,7 +400,7 @@ function format_date($date, $type = 'us', $show_time = false)
}
case 'unix' :
{
- list($year,$month,$day,$hour,$minute,$second) =
+ list($year,$month,$day,$hour,$minute) =
explode('.', date('Y.n.j.G.i', $date));
break;
}