Browse Source

added base_path constant.

Taylor Otwell 13 years ago
parent
commit
490fd46c69
1 changed files with 5 additions and 0 deletions
  1. 5 0
      paths.php

+ 5 - 0
paths.php

@@ -18,6 +18,11 @@ if ( ! isset($web)) $web = false;
 // --------------------------------------------------------------
 define('DS', DIRECTORY_SEPARATOR);
 
+// --------------------------------------------------------------
+// Define the path to the base directory.
+// --------------------------------------------------------------
+define('BASE_PATH', __DIR__.DS);
+
 // --------------------------------------------------------------
 // The path to the application directory.
 // --------------------------------------------------------------