Refactoring access to config constants

Now the config constants is accessible from \Phacil\Framework\Config in a static method. No more 'undefined constant' in the framework 🤗
v2-beta
Bruno O. Notario 3 years ago
parent 7c610f3750
commit 7d0624c015
Signed by: oliveira131
GPG Key ID: 76CAD698D3EA8F58
  1. 26
      system/captcha/autoload.php
  2. 2
      system/config/autoload.php
  3. 3
      system/database/autoload.php
  4. 25
      system/engine/action.php
  5. 4
      system/engine/autoload.php
  6. 22
      system/engine/controller.php
  7. 26
      system/engine/document.php
  8. 4
      system/engine/exception.php
  9. 8
      system/engine/front.php
  10. 14
      system/engine/loader.php
  11. 15
      system/engine/render.php
  12. 4
      system/engine/traits/action.php
  13. 2
      system/image/autoload.php
  14. 3
      system/language/autoload.php
  15. 3
      system/session/autoload.php
  16. 16
      system/system.php
  17. 8
      system/url/autoload.php
  18. 18
      system/url/seo_url.php

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -61,7 +61,7 @@ final class Image {
/** /**
* @param string $image * @param string $image
* @return GdImage|false|void * @return \GdImage|false|void
*/ */
private function create($image) { private function create($image) {
$info = getimagesize($image); $info = getimagesize($image);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save