Knihovny presunuty do ./lib
authorThomas Mudrunka <tomas@mudrunka.cz>
Mon, 22 Aug 2011 22:18:57 +0000 (00:18 +0200)
committerThomas Mudrunka <tomas@mudrunka.cz>
Mon, 22 Aug 2011 22:18:57 +0000 (00:18 +0200)
index.php
lib/HTTP_Auth.class.php [moved from HTTP_Auth.class.php with 100% similarity]
lib/Sklad_LMS-fake.class.php [moved from Sklad_LMS-fake.class.php with 100% similarity]
sklad.conf.php.example

index 931f06cbb582b2235467c0c3447a4dd913fe1a27..7a8167c6564944d46faa900b43e67fa1d3e7b86f 100755 (executable)
--- a/index.php
+++ b/index.php
@@ -18,6 +18,8 @@
  */
 
 require_once('sklad.conf.php');
+set_include_path(DIR_LIB.PATH_SEPARATOR.get_include_path());
+
 require_once('Sklad_LMS-fake.class.php');
 require_once('HTTP_Auth.class.php');
 
similarity index 100%
rename from HTTP_Auth.class.php
rename to lib/HTTP_Auth.class.php
index bd8376837b57bdf8771b67186f5cb075e5009d80..a50a6b4c0d01e7ad02bdfe1781c871243d9cea77 100755 (executable)
@@ -5,10 +5,11 @@ define('DB_NAME',             'store');
 define('DB_HOST',              'localhost');
 define('DB_DSN',               'mysql:host='.DB_HOST.';dbname='.DB_NAME);
 
-define('DIR_HOME',             './');
+define('DIR_HOME',             '.');
+define('DIR_LIB',              DIR_HOME.'/lib');
 define('DIR_IMAGES',           DIR_HOME.'/images');
 define('DIR_BARCODES',         DIR_HOME.'/barcodes');
-define('DIR_TEMPLATES',        DIR_HOME.'/templates');
+define('DIR_TEMPLATES',                DIR_HOME.'/templates');
 define('DIR_ASSISTANTS',       DIR_HOME.'/assistants');
 
 define('URL_HOME',             dirname($_SERVER['SCRIPT_NAME']));
This page took 0.117531 seconds and 4 git commands to generate.