- updated .gitattributes
- added some disallowed paths to robots.txt
- updated cache system class to PHP5, no more PHP4!
Signed-off-by: Roland Häder <roland@mxchange.org>
-# 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
// Caching class
class CacheSystem {
// Status code
- var $statusCode = 'init';
+ public $statusCode = 'init';
// Full-qualified filename
// Full-qualified filename
// Resource to cache file
// Resource to cache file
+ public $pointer = FALSE;
+ public $data = array();
// Version data from cache
// Version data from cache
- var $version = array();
+ public $version = array();
- var $name = '';
- var $rebuilt = array();
+ public $name = '';
+ public $rebuilt = array();
- var $extension = '';
- var $status = array();
- var $readable = array();
- var $fullPath = '';
+ public $extension = '';
+ public $status = array();
+ public $readable = array();
+ public $fullPath = '';
- function CacheSystem () {
+ public function __construct () {
// Set extension
$this->extension = getCacheExtension();
// Set extension
$this->extension = getCacheExtension();
Disallow: /sponsor_ref.php
Disallow: /surfbar.php
Disallow: /view.php
Disallow: /sponsor_ref.php
Disallow: /surfbar.php
Disallow: /view.php
Disallow: /inc/
Disallow: /images/
Disallow: /templates/
Disallow: /inc/
Disallow: /images/
Disallow: /templates/
Disallow: /sponsor_ref.php
Disallow: /surfbar.php
Disallow: /view.php
Disallow: /sponsor_ref.php
Disallow: /surfbar.php
Disallow: /view.php
Disallow: /inc/
Disallow: /images/
Disallow: /templates/
Disallow: /inc/
Disallow: /images/
Disallow: /templates/