Fixed the top-level widget name to match Glade_Window.php Improved comments
23 lines
No EOL
457 B
Text
23 lines
No EOL
457 B
Text
<?php
|
|
error_reporting(E_ALL);
|
|
|
|
/**
|
|
* @FIXME Make it safe. It needs consistency checks, escaping...
|
|
*
|
|
* @param string $name
|
|
* @return void
|
|
*/
|
|
function __autoload($name)
|
|
{
|
|
echo "Autoloading $name\n";
|
|
require_once("$name.php");
|
|
}
|
|
|
|
if (version_compare(phpversion(), '5.2.4', '<='))
|
|
{
|
|
die('This program needs PHP 5.2.4 at a minimum. Current version is ' . PHP_VERSION);
|
|
}
|
|
|
|
$pgmaView = new Pgma_View();
|
|
$pgmaView->top->show_all();
|
|
Gtk::main(); |