Skip to content
Snippets Groups Projects
Select Git revision
  • ea446544ef7a4e5e2d07dba936b5454576aaa1d1
  • master default protected
2 results

settings.php

Blame
  • user avatar
    Lukas Reschke authored
    Let's remove it, it's also not secure anymore with the introduction of
    our API etc...
    (And doesn't work with ldap etc…)
    eab6d7eb
    History
    settings.php 544 B
    <?php
    /**
     * Copyright (c) 2011, Robin Appelman <icewind1991@gmail.com>
     * This file is licensed under the Affero General Public License version 3 or later.
     * See the COPYING-README file.
     */
    
    OC_Util::checkLoggedIn();
    OC_App::loadApps();
    
    OC_Util::addStyle( 'settings', 'settings' );
    OC_App::setActiveNavigationEntry( 'settings' );
    
    $tmpl = new OC_Template( 'settings', 'settings', 'user');
    $forms=OC_App::getForms('settings');
    $tmpl->assign('forms', array());
    foreach($forms as $form) {
    	$tmpl->append('forms', $form);
    }
    $tmpl->printPage();