Added new interfaces for file i/o classes.
[core.git] / inc / classes / main / file_directories / input / class_FrameworkFileInputPointer.php
index bca7a18b398dcf16a151f6d37d9a12f2dd780005..bd14d9dbb6fe7180073384cced28ba3b6dff8586 100644 (file)
@@ -21,7 +21,7 @@
  * You should have received a copy of the GNU General Public License
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
  * You should have received a copy of the GNU General Public License
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
-class FrameworkFileInputPointer extends BaseFileIo {
+class FrameworkFileInputPointer extends BaseFileIo implements InputPointer {
        /**
         * Protected constructor
         *
        /**
         * Protected constructor
         *
@@ -42,9 +42,6 @@ class FrameworkFileInputPointer extends BaseFileIo {
         * @return      void
         */
        public static final function createFrameworkFileInputPointer ($fileName) {
         * @return      void
         */
        public static final function createFrameworkFileInputPointer ($fileName) {
-               // Secure with realpath()
-               $fileName = realpath($fileName);
-
                // Some pre-sanity checks...
                if ((is_null($fileName)) || (empty($fileName))) {
                        // No filename given
                // Some pre-sanity checks...
                if ((is_null($fileName)) || (empty($fileName))) {
                        // No filename given