summaryrefslogtreecommitdiff
path: root/models/base.php
diff options
context:
space:
mode:
authorFrédéric Guillot <contact@fredericguillot.com>2014-02-16 18:19:15 -0500
committerFrédéric Guillot <contact@fredericguillot.com>2014-02-16 18:19:15 -0500
commite155edd1bdb3c98f240292642c6ee38bf2b1e2cf (patch)
tree450220da2dc5d13d87128f6ad3399de43f8d6df2 /models/base.php
parent4fd4180d1c491672257c034bd8e4db79d69ebe2c (diff)
Minor improvements
Diffstat (limited to 'models/base.php')
-rw-r--r--models/base.php20
1 files changed, 10 insertions, 10 deletions
diff --git a/models/base.php b/models/base.php
index 8259bc6f..1029074d 100644
--- a/models/base.php
+++ b/models/base.php
@@ -2,16 +2,16 @@
namespace Model;
-require 'vendor/SimpleValidator/Validator.php';
-require 'vendor/SimpleValidator/Base.php';
-require 'vendor/SimpleValidator/Validators/Required.php';
-require 'vendor/SimpleValidator/Validators/Unique.php';
-require 'vendor/SimpleValidator/Validators/MaxLength.php';
-require 'vendor/SimpleValidator/Validators/MinLength.php';
-require 'vendor/SimpleValidator/Validators/Integer.php';
-require 'vendor/SimpleValidator/Validators/Equals.php';
-require 'vendor/SimpleValidator/Validators/AlphaNumeric.php';
-require 'vendor/PicoDb/Database.php';
+require __DIR__.'/../vendor/SimpleValidator/Validator.php';
+require __DIR__.'/../vendor/SimpleValidator/Base.php';
+require __DIR__.'/../vendor/SimpleValidator/Validators/Required.php';
+require __DIR__.'/../vendor/SimpleValidator/Validators/Unique.php';
+require __DIR__.'/../vendor/SimpleValidator/Validators/MaxLength.php';
+require __DIR__.'/../vendor/SimpleValidator/Validators/MinLength.php';
+require __DIR__.'/../vendor/SimpleValidator/Validators/Integer.php';
+require __DIR__.'/../vendor/SimpleValidator/Validators/Equals.php';
+require __DIR__.'/../vendor/SimpleValidator/Validators/AlphaNumeric.php';
+require __DIR__.'/../vendor/PicoDb/Database.php';
require __DIR__.'/schema.php';
abstract class Base