-# Use Linux/Uni* line-feed for new lines (prevents converting)
-* text=lf
+#
+### Distribute this file on all GIT projects!
+#
+# Autodetect text files
+* text=auto
+
+# Force the following filetypes to have unix eols, so Windows does not break them
+*.* text eol=lf
+
+# Force images/fonts to be handled as binaries
+*.jpg binary
+*.jpeg binary
+*.gif binary
+*.png binary
+*.t3x binary
+*.t3d binary
+*.exe binary
+*.data binary
+*.ttf binary
+*.eof binary
+*.eot binary
+*.swf binary
+*.mov binary
+*.mp4 binary
+*.mp3 binary
+*.ogg binary
+*.flv binary
+*.jar binary
+*.pdf binary
+*.woff* binary
+*.otf binary
+*.z binary
+*.docx binary
// Caching class
class CacheSystem {
// Status code
- var $statusCode = 'init';
+ public $statusCode = 'init';
// Full-qualified filename
- var $fqfn = '';
+ public $fqfn = '';
// Resource to cache file
- var $pointer = FALSE;
+ public $pointer = FALSE;
// Data array from cache
- var $data = array();
+ public $data = array();
// Version data from cache
- var $version = array();
+ public $version = array();
// Cache name
- var $name = '';
- var $rebuilt = array();
+ public $name = '';
+ public $rebuilt = array();
// File extension
- var $extension = '';
- var $status = array();
- var $readable = array();
- var $fullPath = '';
+ public $extension = '';
+ public $status = array();
+ public $readable = array();
+ public $fullPath = '';
// Constructor
- function CacheSystem () {
+ public function __construct () {
// Set extension
$this->extension = getCacheExtension();