Skip to content

Commit

Permalink
Save memory usage on startup
Browse files Browse the repository at this point in the history
  • Loading branch information
sniemela authored and Fabrice Luraine committed Dec 5, 2009
1 parent 95e7f88 commit 68fdb71
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion TODO
Expand Up @@ -28,7 +28,6 @@ autoload_controller(['function']);
- new redirect_to (support for https)
- add header X-Limonade-PHP: (lim version name); (cosmetic ;-)
- use array_walk_recursive for unregister_globals
- add a LIM_START_MEMORY with memory_get_usage()
- add a simple helper for benchmarking (execution time / memory)
- adding gzip option (http://fr.php.net/manual/en/zlib.configuration.php#ini.zlib.output-compression)
- simple form helper with XSS/CSRF protection
Expand Down
1 change: 1 addition & 0 deletions lib/limonade.php
Expand Up @@ -59,6 +59,7 @@
define('LIM_START_MICROTIME', (float)substr(microtime(), 0, 10));
define('LIM_SESSION_NAME', 'Fresh_and_Minty_Limonade_App');
define('LIM_SESSION_FLASH_KEY', '_lim_flash_messages');
define('LIM_START_MEMORY', memory_get_usage());
define('E_LIM_HTTP', 32768);
define('E_LIM_PHP', 65536);
define('E_LIM_DEPRECATED', 35000);
Expand Down

0 comments on commit 68fdb71

Please sign in to comment.