PHP SESSION Prefix and IP check, engine constants and user_constants as a function for better memory usage, add SQLite 3 driver, new loader for aditional database method, new REST HTPP method check, updated template engines: Mustache 2.13, Smarty 3.1.34, Twig 1.42.5, Twig 2.12.5, add Twig 3 support to PHP 7.2+, define Dwoo template as deprecated, Caches and captcha bugfix in PHP 5.4.x

v1.5 1.5.0
Bruno O. Notario 5 years ago
parent 488ac3717e
commit f16eefd910
  1. 13
      README.md
  2. 4
      system/caches/caches.php
  3. 4
      system/captcha/autoload.php
  4. 1
      system/database/database/dbmysqli.php
  5. 61
      system/database/database/sqlite3_db.php
  6. 6
      system/database/library/db.php
  7. 2
      system/engine/VERSION
  8. 22
      system/engine/controller.php
  9. 16
      system/engine/loader.php
  10. 3
      system/engine/log.php
  11. 1
      system/engine/registry.php
  12. 102
      system/request/autoload.php
  13. 60
      system/session/autoload.php
  14. 65
      system/system.php
  15. 2
      system/templateEngines/Mustache/Engine.php
  16. 4
      system/templateEngines/Mustache/Parser.php
  17. 91
      system/templateEngines/Mustache/Tokenizer.php
  18. 28
      system/templateEngines/Twig/Extension/ExacTITranslate.php
  19. 186
      system/templateEngines/Twig/Extension/ExacTITranslate1x.php
  20. 50
      system/templateEngines/Twig/Twig1x/Autoloader.php
  21. 54
      system/templateEngines/Twig/Twig1x/BaseNodeVisitor.php
  22. 91
      system/templateEngines/Twig/Twig1x/Cache/Filesystem.php
  23. 40
      system/templateEngines/Twig/Twig1x/Cache/Null.php
  24. 58
      system/templateEngines/Twig/Twig1x/CacheInterface.php
  25. 286
      system/templateEngines/Twig/Twig1x/Compiler.php
  26. 39
      system/templateEngines/Twig/Twig1x/ContainerRuntimeLoader.php
  27. 1617
      system/templateEngines/Twig/Twig1x/Environment.php
  28. 333
      system/templateEngines/Twig/Twig1x/Error.php
  29. 36
      system/templateEngines/Twig/Twig1x/Error/Loader.php
  30. 22
      system/templateEngines/Twig/Twig1x/Error/Runtime.php
  31. 55
      system/templateEngines/Twig/Twig1x/Error/Syntax.php
  32. 31
      system/templateEngines/Twig/Twig1x/ExistsLoaderInterface.php
  33. 744
      system/templateEngines/Twig/Twig1x/ExpressionParser.php
  34. 69
      system/templateEngines/Twig/Twig1x/Extension.php
  35. 1647
      system/templateEngines/Twig/Twig1x/Extension/Core.php
  36. 67
      system/templateEngines/Twig/Twig1x/Extension/Debug.php
  37. 112
      system/templateEngines/Twig/Twig1x/Extension/Escaper.php
  38. 24
      system/templateEngines/Twig/Twig1x/Extension/GlobalsInterface.php
  39. 24
      system/templateEngines/Twig/Twig1x/Extension/InitRuntimeInterface.php
  40. 35
      system/templateEngines/Twig/Twig1x/Extension/Optimizer.php
  41. 49
      system/templateEngines/Twig/Twig1x/Extension/Profiler.php
  42. 103
      system/templateEngines/Twig/Twig1x/Extension/Sandbox.php
  43. 112
      system/templateEngines/Twig/Twig1x/Extension/Staging.php
  44. 47
      system/templateEngines/Twig/Twig1x/Extension/StringLoader.php
  45. 90
      system/templateEngines/Twig/Twig1x/ExtensionInterface.php
  46. 39
      system/templateEngines/Twig/Twig1x/FactoryRuntimeLoader.php
  47. 60
      system/templateEngines/Twig/Twig1x/FileExtensionEscapingStrategy.php
  48. 84
      system/templateEngines/Twig/Twig1x/Filter.php
  49. 40
      system/templateEngines/Twig/Twig1x/Filter/Function.php
  50. 42
      system/templateEngines/Twig/Twig1x/Filter/Method.php
  51. Some files were not shown because too many files have changed in this diff Show More

File diff suppressed because one or more lines are too long

@ -2,9 +2,11 @@
final class Caches {
private $expire = 3600;
public $dirCache = DIR_CACHE."caches/";
public $dirCache = "caches/";
public function __construct() {
$this->dirCache = DIR_CACHE."caches/";
if (!file_exists($this->dirCache)) {
mkdir($this->dirCache, 0760, true);
}

File diff suppressed because one or more lines are too long

@ -49,4 +49,3 @@ final class DBMySQLi {
$this->connection->close();
}
}
?>

File diff suppressed because one or more lines are too long

@ -96,5 +96,9 @@ final class DB {
return $this->driver->query($sql);
}
}
public function createSubBase($nome, $object) {
$this->$nome = $object;
}
}
?>

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

@ -14,4 +14,3 @@ final class Registry {
return isset($this->data[$key]);
}
}
?>

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

@ -23,7 +23,7 @@
*/
class Mustache_Engine
{
const VERSION = '2.12.0';
const VERSION = '2.13.0';
const SPEC_VERSION = '1.1.2';
const PRAGMA_FILTERS = 'FILTERS';

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

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

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

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save