]> git.llucax.com Git - software/bife/bife.git/blobdiff - src/BIFE/Parser.php
Removed \n at the end of the file and added a VIM option to keep it as is.
[software/bife/bife.git] / src / BIFE / Parser.php
index ee35bfca192f5459954b56171d663f4b5271aa48..e4753a80e21ad394c1c6b72a94870852c7c2f3f2 100644 (file)
@@ -1,5 +1,5 @@
 <?php
-// vim: set expandtab tabstop=4 softtabstop=4 shiftwidth=4:
+// vim: set expandtab tabstop=4 shiftwidth=4 binary:
 // +--------------------------------------------------------------------+
 // |                       BIFE - Buil It FastEr                        |
 // +--------------------------------------------------------------------+
@@ -153,7 +153,7 @@ class BIFE_Parser {
                 strtr(ucwords(strtr(strtolower($name), ':', ' ')), ' ', '/') .
                 '.php';
             if (@include_once $inc) {
-                $this->includes[] = $inc;
+                $this->requires[] = $inc;
             }
         }
         if (class_exists($class)) {
@@ -277,7 +277,7 @@ class BIFE_Parser {
         fclose($fp);
         if ($this->cache) {
             $fp = fopen($cache, 'w');
-            fputs($fp, serialize($this->includes) . "\n");
+            fputs($fp, serialize($this->requires) . "\n");
             fputs($fp, serialize($this->root));
             fclose($fp);
         }