Modified: desktop/trunk/Writer/run.php (29 => 30)
--- desktop/trunk/Writer/run.php 2006-11-30 15:15:57 UTC (rev 29)
+++ desktop/trunk/Writer/run.php 2006-11-30 18:25:18 UTC (rev 30)
@@ -1,14 +1,14 @@
#!/usr/bin/php
<?php
/**
- * run.php - actually runs the program
+ * run.php - sets up the writer environment
*
- * linux/unix users (yes that includes you, darwin/OSX) change the shebang to your
- * php-gtk php cli location - windows users easiest way is to create a shortcut e.g.
+ * can be run via the shebang line on *nix systems - windows users can either
+ * associate the file extension with the php cli or create a shortcut
* C:\WINDOWS\system32\cmd.exe /k "C:\Program Files\php-gtk\php.exe" run.php (for dos window)
- * or "C:\Program Files\php-gtk\php-win.exe" run.php (your locations may vary)
+ * or "C:\Program Files\php-gtk\php-win.exe" run.php (your php cli locations may vary)
*
- * This is released under the GPL, see license.txt for details
+ * This is released under the GPL, see docs/license.txt for details
*
* @author Elizabeth Smith <emsmith@callicore.net>
* @copyright Elizabeth Smith (c)2006
@@ -24,14 +24,14 @@
/**
* global defines for the duration of the program
- * I got tired of typing directory separator all the time
- * also finds the program root directory
+ * I got tired of typing directory_separator all the time
+ * also finds the program root directory because cwd may vary
*/
define('DS', DIRECTORY_SEPARATOR, TRUE);
define('EOL', PHP_EOL, TRUE);
define('DIR', dirname(__FILE__) . DS, TRUE);
-include(DIR . 'lib' . DS . 'writer.class.php');
+include(DIR . 'lib' . DS . 'main.class.php');
/**
* function __autoload
@@ -66,6 +66,6 @@
}
}
-new Writer();
+new Main();
Gtk::main();
?>
\ No newline at end of file