diff options
author | rvelices <rv-github@modusoptimus.com> | 2008-08-19 23:58:35 +0000 |
---|---|---|
committer | rvelices <rv-github@modusoptimus.com> | 2008-08-19 23:58:35 +0000 |
commit | dcbaefafdfb955f61c9b83eb8d2e15eea2880694 (patch) | |
tree | 0e35d4a8466e3b0f8027059dbe81979ad5baab0f /admin | |
parent | 9a346cc2378bf752c7099a1875b10919f0f7235e (diff) |
- ws can include php file before invoking web call method
- remove "Pierrick ..." from some languages
- tags - small change to avoid increasing number of urls
- added a missing closedir
- remove some unnecessary class names and inexisting rel attributes
git-svn-id: http://piwigo.org/svn/trunk@2478 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin')
-rw-r--r-- | admin/include/functions.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/admin/include/functions.php b/admin/include/functions.php index 2a7214974..59c63ff0c 100644 --- a/admin/include/functions.php +++ b/admin/include/functions.php @@ -356,6 +356,7 @@ function get_fs_directories($path, $recursive = true) } } } + closedir($contents); } } @@ -1496,7 +1497,7 @@ DELETE function tag_id_from_tag_name($tag_name) { global $page; - + $tag_name = trim($tag_name); if (isset($page['tag_id_from_tag_name_cache'][$tag_name])) { @@ -1617,7 +1618,7 @@ function do_maintenance_all_tables() // Optimize all tables $query = 'OPTIMIZE TABLE '.implode(', ', $all_tables).';'; $mysql_rc = $mysql_rc && pwg_query($query); - if ($mysql_rc) + if ($mysql_rc) { array_push( $page['infos'], |