dokeos-install
[ class tree: dokeos-install ] [ index: dokeos-install ] [ all elements ]

Procedural File: update-files-1.6.x-1.8.0.inc.php

Source Location: /main/install/update-files-1.6.x-1.8.0.inc.php



Page Details:

Updates the Dokeos files from version 1.6.x to version 1.8.0 IMPORTANT: This script has to be included by install/index.php or update_courses.php

DOKEOS_INSTALL is defined in the install/index.php (means that we are in the regular upgrade process)

DOKEOS_COURSE_UPDATE is defined in update_courses.php (means we are executing update_courses.php to update courses separately)

When DOKEOS_INSTALL or DOKEOS_COURSE_UPDATE are defined, do for every course:

  • create a new set of directories that reflect the new tools offered by 1.8
  • record an item_property for each directory added




Includes:

require_once("../inc/lib/main_api.lib.php") [line 44]
Updates the Dokeos files from version 1.6.x to version 1.8.0 IMPORTANT: This script has to be included by install/index.php or update_courses.php

DOKEOS_INSTALL is defined in the install/index.php (means that we are in the regular upgrade process)

DOKEOS_COURSE_UPDATE is defined in update_courses.php (means we are executing update_courses.php to update courses separately)

When DOKEOS_INSTALL or DOKEOS_COURSE_UPDATE are defined, do for every course:

  • create a new set of directories that reflect the new tools offered by 1.8
  • record an item_property for each directory added


require_once('../inc/lib/database.lib.php') [line 46]
require_once("../inc/lib/fileUpload.lib.php") [line 45]






insert_db [line 53]

void insert_db( $db_name, $folder_name, $text)



Parameters

   $db_name  
   $folder_name  
   $text  
[ Top ]



Documentation generated on Wed, 05 Sep 2007 06:15:12 +0200 by phpDocumentor 1.4.0