projects
/
diogenes.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
change RSS mime type to application/rss+xml
[diogenes.git]
/
include
/
admin
/
plugins.php
diff --git
a/include/admin/plugins.php
b/include/admin/plugins.php
index
c529c31
..
5ae4ae3
100644
(file)
--- a/
include/admin/plugins.php
+++ b/
include/admin/plugins.php
@@
-30,8
+30,7
@@
if ($dir != 0)
/* plugin editor */
$editor = new Diogenes_Plugin_Editor($page->alias, $dir, $wperms);
if ($dir == 0) {
- $editor->readonly = 1;
- $editor->hide_params(1);
+ $editor->set_mode(MODE_NOPARAMS);
}
$editor->run($page,'page_content');
$page->display('');