Merge commit 'refs/merge-requests/23' of git://gitorious.org/owncloud/owncloud into merge
This commit is contained in:
commit
32e5851255
|
@ -26,6 +26,7 @@
|
||||||
ob_start();
|
ob_start();
|
||||||
// error_reporting(E_ALL | E_STRICT);
|
// error_reporting(E_ALL | E_STRICT);
|
||||||
error_reporting(E_ALL); // MDB2 gives loads of strict error, disabling for now
|
error_reporting(E_ALL); // MDB2 gives loads of strict error, disabling for now
|
||||||
|
|
||||||
date_default_timezone_set('Europe/Berlin');
|
date_default_timezone_set('Europe/Berlin');
|
||||||
ini_set('arg_separator.output','&');
|
ini_set('arg_separator.output','&');
|
||||||
ini_set('session.cookie_httponly','1;');
|
ini_set('session.cookie_httponly','1;');
|
||||||
|
@ -108,9 +109,20 @@ if(OC_USER::isLoggedIn()){
|
||||||
}
|
}
|
||||||
|
|
||||||
// load plugins
|
// load plugins
|
||||||
$CONFIG_LOADPLUGINS='';
|
$CONFIG_LOADPLUGINS='all';
|
||||||
$plugins=explode(' ',$CONFIG_LOADPLUGINS);
|
if ($CONFIG_LOADPLUGINS != 'all')
|
||||||
if(isset($plugins[0]['url'])) foreach($plugins as $plugin) require_once('plugins/'.$plugin.'/lib_'.$plugin.'.php');
|
$plugins=explode(' ',$CONFIG_LOADPLUGINS);
|
||||||
|
else{
|
||||||
|
$plugins=array();
|
||||||
|
$fd=opendir($SERVERROOT.'/plugins');
|
||||||
|
while (($filename = readdir($fd)) !== false) {
|
||||||
|
if($filename<>'.' and $filename<>'..' and substr($filename,0,1)!='.'){
|
||||||
|
$plugins[]=$filename;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
closedir($fd);
|
||||||
|
}
|
||||||
|
if(isset($plugins[0])) foreach($plugins as $plugin) require_once($SERVERROOT.'/plugins/'.$plugin.'/lib_'.$plugin.'.php');
|
||||||
|
|
||||||
|
|
||||||
// check if the server is correctly configured for ownCloud
|
// check if the server is correctly configured for ownCloud
|
||||||
|
|
|
@ -115,7 +115,7 @@ foreach($dbtypes as $dbtype){
|
||||||
<tr><td></td><td><input type="submit" name="set_config" alt="save" value="save" class="formstyle" /></td></tr>
|
<tr><td></td><td><input type="submit" name="set_config" alt="save" value="save" class="formstyle" /></td></tr>
|
||||||
</table></form><br/>
|
</table></form><br/>
|
||||||
<?php
|
<?php
|
||||||
if(!$FIRSTRUN and false){//disabled for now?>
|
if(!$FIRSTRUN ){//disabled for now?>
|
||||||
<br/>
|
<br/>
|
||||||
<form method="post" enctype="multipart/form-data" action="#">
|
<form method="post" enctype="multipart/form-data" action="#">
|
||||||
<table cellpadding="5" cellspacing="5" border="0" class="loginform">
|
<table cellpadding="5" cellspacing="5" border="0" class="loginform">
|
||||||
|
|
|
@ -34,7 +34,7 @@ changepassset=function(){
|
||||||
</table>
|
</table>
|
||||||
</form>
|
</form>
|
||||||
<!--dissabled for now
|
<!--dissabled for now
|
||||||
Groups:
|
Groups:-->
|
||||||
<form method="post" enctype="multipart/form-data">
|
<form method="post" enctype="multipart/form-data">
|
||||||
<input type='hidden' name='creategroup' value='1'>
|
<input type='hidden' name='creategroup' value='1'>
|
||||||
<table cellpadding="5" cellspacing="5" border="0" class="loginform">
|
<table cellpadding="5" cellspacing="5" border="0" class="loginform">
|
||||||
|
@ -50,4 +50,4 @@ foreach($groups as $group){
|
||||||
<tr><td colspan='2' class='center'>Create new group</td></tr>
|
<tr><td colspan='2' class='center'>Create new group</td></tr>
|
||||||
<tr><td><input type='text' name='groupname' class="formstyle"></input></td><td><input type='submit' value='create' class="formstyle"></input></td></tr>
|
<tr><td><input type='text' name='groupname' class="formstyle"></input></td><td><input type='submit' value='create' class="formstyle"></input></td></tr>
|
||||||
</table>
|
</table>
|
||||||
</form>-->
|
</form>
|
||||||
|
|
Loading…
Reference in New Issue