PHP Classes

File: ptk.inc.php

Recommend this page to a friend!
  Classes of Everton da Rosa   PHP Script Loader   ptk.inc.php   Download  
File: ptk.inc.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary file
Class: PHP Script Loader
Load PHP scripts from predefined directories
Author: By
Last change:
Date: 9 years ago
Size: 882 bytes
 

Contents

Class file image Download
<?php

/*
 * Copyright (C) 2014 Everton
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program. If not, see <http://www.gnu.org/licenses/>.
 */

try{
    require_once
__DIR__.'/lib/ptk.class.php';
   
Ptk::registerAutoLoad();
} catch (
Exception $ex){
    echo
$ex->getMessage();
    exit(
$ex->getCode());
}