Browse Source

update symfony2 files

jmontoyaa 8 years ago
parent
commit
7e6b33f574
3 changed files with 13 additions and 5 deletions
  1. 10 1
      app/AppKernel.php
  2. 3 3
      app/config/config.yml
  3. 0 1
      app/console

+ 10 - 1
app/AppKernel.php

@@ -53,7 +53,6 @@ class AppKernel extends Kernel
             new Sonata\DatagridBundle\SonataDatagridBundle(),
             new Sonata\MediaBundle\SonataMediaBundle(),
             new Sonata\PageBundle\SonataPageBundle(),
-            new Theodo\Evolution\Bundle\SessionBundle\TheodoEvolutionSessionBundle(),
 
             new Spy\TimelineBundle\SpyTimelineBundle(),
             new Sonata\TimelineBundle\SonataTimelineBundle(),
@@ -98,6 +97,7 @@ class AppKernel extends Kernel
             //new Chamilo\InstallerBundle\ChamiloInstallerBundle(),
             new Chamilo\CoreBundle\ChamiloCoreBundle(),
             new Chamilo\CourseBundle\ChamiloCourseBundle(),
+            new Chamilo\SkillBundle\ChamiloSkillBundle(),
             // new Chamilo\SettingsBundle\ChamiloSettingsBundle(),
             new Chamilo\ThemeBundle\ChamiloThemeBundle(),
             //new Chamilo\NotificationBundle\ChamiloNotificationBundle(),
@@ -212,5 +212,14 @@ class AppKernel extends Kernel
     {
         new ChamiloApi($configuration);
     }
+
+    /**
+    * Check if system is installed
+    * @return bool
+    */
+    public function isInstalled()
+    {
+        return !empty($this->getContainer()->getParameter('installed'));
+    }
 }
 

+ 3 - 3
app/config/config.yml

@@ -73,9 +73,9 @@ framework:
     fragments:       ~
     http_method_override: true
 
-theodo_evolution_session:
-    bag_manager_service: theodo_evolution.session.symfony1.bag_manager
-    bag_configuration_service: theodo_evolution.session.symfony1.bag_manager_configuration
+#theodo_evolution_session:
+#    bag_manager_service: theodo_evolution.session.symfony1.bag_manager
+#    bag_configuration_service: theodo_evolution.session.symfony1.bag_manager_configuration
 
 # Twig Configuration
 twig:

+ 0 - 1
app/console

@@ -1,6 +1,5 @@
 #!/usr/bin/env php
 <?php
-exit;
 use Symfony\Bundle\FrameworkBundle\Console\Application;
 use Symfony\Component\Console\Input\ArgvInput;
 use Symfony\Component\Debug\Debug;