Browse Source

Feature #306 - Placing a directive for loading the database class within the installation script install_upgrade.lib.php.

Ivan Tcholakov 15 years ago
parent
commit
b58e3b7ce4
1 changed files with 3 additions and 0 deletions
  1. 3 0
      main/install/install_upgrade.lib.php

+ 3 - 0
main/install/install_upgrade.lib.php

@@ -28,6 +28,9 @@ define("SETTING_CURRENT_DATA_FILENAME", "setting_current_data.csv");
 define("COURSES_HTACCESS_FILENAME", "htaccess.dist");
 define("DOKEOS_CONFIG_FILENAME", "configuration.dist.php");
 
+// Added by Ivan Tcholakov, 29-SEP-2009.
+require_once '../inc/lib/database.lib.php';
+
 /*
 ==============================================================================
 		DATABASE FUNCTIONS