Changeset 354 in t29-www


Ignore:
Timestamp:
Mar 7, 2013, 12:31:39 AM (11 years ago)
Author:
sven
Message:

Texte beim Direktzugriff auf Libs angepasst

Location:
lib
Files:
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • lib/loader.php

    r301 r354  
    1515
    1616        if(!isset($_GET['type'])) {
    17                 die("Provide ?type=js or ?type=css.");
     17                print "<html><pre>The t29v6 Ressource loader.\n";
     18                print "Provide ?type=js or ?type=css.\n";
     19                print '<a href="https://labs.technikum29.de/browser/technikum29%20Website/lib/loader.php">Read my sourcecode</a>';
     20                exit;
    1821        }
    1922}
  • lib/technikum29.php

    r343 r354  
    99if(defined('T29')) return false; // no nesting
    1010define('T29', true);
     11
     12// at least the $seiten_id must be defined
     13if(!isset($seiten_id)) {
     14        print "<html><pre>The t29v6 WebStart file\n";
     15        print 'technikum29.php is the main include, but requires at least global <tt>$seiten_id</tt> to be defined.';
     16        print "\n<a href='https://labs.technikum29.de/browser/technikum29%20Website/lib/technikum29.php'>Read my sourcecode</a>";
     17        return false;
     18}
    1119
    1220$lib = dirname(__FILE__);
Note: See TracChangeset for help on using the changeset viewer.
© 2008 - 2013 technikum29 • Sven Köppel • Some rights reserved
Powered by Trac
Expect where otherwise noted, content on this site is licensed under a Creative Commons 3.0 License