[Owncloud] Referencing the admin section
Christian Reiner
foss at christian-reiner.info
Fri Nov 23 15:24:32 UTC 2012
Hi all,
current git master contains changes in the way the administration is accessed.
I used to refer to the admin settings by this link which still works in
OC-4.5.2, but not any more in current git master:
OCP\Util::linkToAbsolute("settings", "admin.php")
It redirects to /owncloud/settings/admin.php instead of the correct
/owncloud/index.php/settings/admin ...
So I assume the correct way to reference the admin section now looks like
this: OCP\Util::linkToAbsolute('', "settings/admin.php")
Is that correct?
Is it correct that this is only relevant to versions higher than 4.5?
--
Christian Reiner (arkascha)
[ foss at christian-reiner.info ]
More information about the Owncloud
mailing list