/usr/syno/pgsql/bin/psql -U admin photo
photo=# \dt
List of relations
Schema | Name | Type | Owner
--------+-----------------------+-------+-------
public | blog_article | table | admin
public | blog_article_autosave | table | admin
public | blog_article_label | table | admin
public | blog_comment | table | admin
public | blog_config | table | admin
public | blog_label | table | admin
public | blog_module | table | admin
public | common_config | table | admin
public | photo_access_right | table | admin
public | photo_comment | table | admin
public | photo_config | table | admin
public | photo_image | table | admin
public | photo_log | table | admin
public | photo_share | table | admin
public | photo_user | table | admin
public | video_comment | table | admin
public | video_desc | table | admin
(17 rows)
photo=# select * from photo_share;
shareid | sharename | title | description | public | hits | cover | comment | is_subdir | allow_download | updated
---------+-----------+-------+-------------+--------+------+-------+---------+-----------+----------------+---------
(0 rows)
photo=# update photo_share set hits = 0;
photo=# \q
ds209>
Wie immer führen viele Wege nach Rom eh?
/usr/syno/pgsql/bin/psql -U admin -d photo -c "update photo_share set hits = 0"
1. Telnet als root
2. ändern in vi /usr/syno/synoman/phpsrc/photo/language/ger.php
Original:
$photo_str_hits = 'Treffer';
neu:
$photo_str_hits = 'Aufrufe';
Wenn du das Forum hilfreich findest oder uns unterstützen möchtest, dann gib uns doch einfach einen Kaffee aus.
Als Dankeschön schalten wir deinen Account werbefrei.