Minor - format code.

1.10.x
Julio Montoya 11 years ago
parent 6ea2ba7131
commit 71d9122886
  1. 1
      app/config/assetic.yml
  2. 2
      app/config/config.yml
  3. 4
      app/config/sonata/sonata_admin.yml
  4. 2
      main/session/session_add.php
  5. 18
      src/Chamilo/CoreBundle/DependencyInjection/ChamiloCoreExtension.php
  6. 1
      src/Chamilo/CoreBundle/DependencyInjection/Compiler/DoctrineEntityListenerPass.php

@ -11,6 +11,7 @@ assetic:
yui_css: { jar: "%kernel.root_dir%/../bin/yuicompressor.jar" }
assets:
# see http://sonata-project.org/blog/2012/5/15/assetic-package-configuration
#
sonata_jqueryui_js:

@ -277,4 +277,4 @@ apy_data_grid:
liip_theme:
themes: ['web', 'tablet', 'phone']
active_theme: 'phone'
active_theme: 'web'

@ -97,10 +97,6 @@ sonata_admin:
- sonata.admin.session
- sonata.admin.access_url
assets:
stylesheets:
# The sandbox includes default pre-optimized version of some css and js

@ -11,8 +11,6 @@ $cidReset = true;
//require_once '../inc/global.inc.php';
// setting the section (for the tabs)
$this_section = SECTION_PLATFORM_ADMIN;
SessionManager::protect_session_edit();
$interbreadcrumb[] = array('url' => 'index.php', 'name' => get_lang('Sessions'));

@ -1,4 +1,5 @@
<?php
/* For licensing terms, see /license.txt */
namespace Chamilo\CoreBundle\DependencyInjection;
@ -7,17 +8,32 @@ use Symfony\Component\HttpKernel\DependencyInjection\Extension;
use Symfony\Component\Config\FileLocator;
use Symfony\Component\DependencyInjection\Loader;
/**
* Class ChamiloCoreExtension
* @package Chamilo\CoreBundle\DependencyInjection
*/
class ChamiloCoreExtension extends Extension
{
/**
* @param array $configs
* @param ContainerBuilder $container
*/
public function load(array $configs, ContainerBuilder $container)
{
$loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
$loader = new Loader\YamlFileLoader(
$container,
new FileLocator(__DIR__ . '/../Resources/config')
);
$loader->load('services.yml');
$loader->load('admin.yml');
}
/**
* @return string
*/
public function getAlias()
{
return 'chamilo_core';
}
}

@ -1,4 +1,5 @@
<?php
/* For licensing terms, see /license.txt */
namespace Chamilo\CoreBundle\DependencyInjection\Compiler;

Loading…
Cancel
Save