Ignore:
Timestamp:
11/18/07 20:50:26 (6 years ago)
Author:
Lantash
Message:

Ladies and gentlemen, I'm proud to present you the HUNDREDTH COMMIT which introduces a bunch of new things:

Reorganized server side code core. Each PHP library is located in a directory called "includes" and can be imported using Core::import. [Closes #55]

Added database abstraction layer based on Joomla (supports only MySQL and MySQLi at the moment). [Closes #53]

Introduced core.php which acts as a factory and provides access to the settings, the database and information about the user.

UTF-8 is used for internal information processing which saves time-consuming decoding and encoding operations.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/installation/index.php

    r71 r100  
    1010 
    1111// Wenn das Klassenbuch bereits konfiguriert wurde, wird die Installation abgebrochen 
    12 if (file_exists("../server.settings.php")) { 
     12if (file_exists("../settings.php")) { 
    1313        header("Location: ../"); 
    1414        exit(); 
     
    202202         
    203203        function setPage() { 
    204                 $settings = $this->readFile("../server.settings.default.php"); 
     204                $settings = $this->readFile("../settings.default.php"); 
    205205                $keys = Array("domain", "mail", "adminmail", "adminname", "title", "subtitle", "db_host", "db_name", 
    206206                        "db_user", "db_password", "db_tblprefix"); 
     
    210210                } 
    211211                 
    212                 $this->writeFile("../server.settings.php", $settings); 
     212                $this->writeFile("../settings.php", $settings); 
    213213                $this->page = "<p>Das Klassenbuch wurde erfolgreich eingerichtet. Du kannst das Klassenbuch nun zum ersten Mal " . 
    214214                        "öffnen.</p><ul><li><a href=\"../index.php\">Zum Klassenbuch</a></li></ul>"; 
Note: See TracChangeset for help on using the changeset viewer.