Browse Source

Update paths with new changes

jmontoyaa 7 years ago
parent
commit
0d8ac93d88
3 changed files with 25 additions and 31 deletions
  1. 4 7
      .codeclimate.yml
  2. 3 6
      .scrutinizer.yml
  3. 18 18
      README.md

+ 4 - 7
.codeclimate.yml

@@ -27,12 +27,9 @@ ratings:
   - '**.css'
 
 exclude_paths:
-- cli-config.php
-- app/cache/
-- app/logs/
-- app/config/
-- app/SymfonyRequirements.php
-- app/Migrations/
+- var/cache/
+- var/logs/
+- config/
 - app/Resources/
 - main/admin/db.php
 - main/admin/ldap_synchro.php
@@ -72,4 +69,4 @@ exclude_paths:
 - plugin/sepe/src/wsse/
 - tests/
 - vendor/
-- web/
+- public/

+ 3 - 6
.scrutinizer.yml

@@ -127,12 +127,9 @@ coding_style:
 filter:
       excluded_paths:
         - 'cli-config.php'
-        - 'app/cache/*'
-        - 'app/logs/*'
-        - 'app/config/*'
-        - 'app/SymfonyRequirements.php'
+        - 'var/*'
+        - 'config/*'
         - 'documentation/*'
-        - 'app/Migrations/*'
         - 'app/Resources/*'
         - 'main/admin/db.php'
         - 'main/admin/ldap_synchro.php'
@@ -175,4 +172,4 @@ filter:
         - 'plugin/sepe/src/wsse/*'
         - 'tests/*'
         - 'vendor/*'
-        - 'web/*'
+        - 'public/*'

+ 18 - 18
README.md

@@ -9,45 +9,44 @@
 
 ## Installation
 
-The installation instructions are located in the documentation here: 
+The installation instructions are located in the documentation here:
 [Installation](app/Resources/docs/installation.md)
 
 ## Upgrade
-The upgrade instructions are located in the documentation here: 
+The upgrade instructions are located in the documentation here:
  [Upgrade](app/Resources/docs/upgrade.md)
 
-## Changes from 1.x 
+## Changes from 1.x
 
-* app/Resources/public/assets moved to web/assets
-* main/inc/lib/javascript moved to web/js
-* main/img/ moved to web/img
-* Installation url changed from main/install/index.php to web/install.php
+* app/Resources/public/assets moved to public/assets
+* main/inc/lib/javascript moved to public/js
+* main/img/ moved to public/img
+* Installation url changed from main/install/index.php to public/install.php
 * main/template/default moved to src/Chamilo/CoreBundle/Resources/views
 * Template twig file names are changed from *.tpl to *.html.twig to follow Symfony2 format
-* bin/doctrine.php changed to app/console
-* php files are now loaded using the web/app_dev.php file
+* bin/doctrine.php removed use bin/console doctrine:xyz options
+* php files are now loaded using the public/index.php file
  * In 1.x:
       main/admin/user_list.php
  * In 2.x (dev mode)
-      web/app_dev.php/main/admin/user_list.php
- * In 2.x: (prod mode)
-      web/main/admin/user_list.php
+      public/index.php/main/admin/user_list.php
+ * In 2.x: (prod mode) htaccess redirects main calls to /index.php/
+      main/admin/user_list.php
 * Language list is now loaded using the iso code not the english name.
-  Example: "es" instead of "spanish" 
+  Example: "es" instead of "spanish"
 * PHPMailer replaced with Swift Mailer
-* Plugin images, css and js libs are loaded inside the web/plugins folder (composer update copies the content inside plugin_name/public inside web/plugins/plugin_name
-* Plugins templates use asset() function instead of using "_p.web_plugin" 
+* Plugin images, css and js libs are loaded inside the public/plugins folder
+  (composer update copies the content inside plugin_name/public inside web/plugins/plugin_name
+* Plugins templates use asset() function instead of using "_p.web_plugin"
 
-   
 ## Todo
 * Template system to work with current Symfony2 structure
-* Auth (CAS, Shibboleth, Oath2) 
+* Auth (CAS, Shibboleth, Oath2)
 * URL course changes "cidReq" to "c", "session_id" to "s"
 * Fix plugins that use api_get_setting directly in the code
 * Fix plugins render using tpl or PHP files
 * CAPTCHA
 
-
 ## Contributing
 
 If you want to submit new features or patches to Chamilo, please follow the
@@ -57,4 +56,5 @@ In short, we ask you to send us Pull Requests based on a branch that you create
 with this purpose into your repository forked from the original Chamilo repository.
 
 ## Documentation
+
 For more information on Chamilo, visit https://1.11.chamilo.org/documentation/index.html