final class IPF
{
+ public static function version()
+ {
+ return '0.5 beta';
+ }
+
private static $settings = array(
'app_base' => '',
'debug' => false,
public function templateContext($request)
{
return array(
- 'IPF_VER' => IPF_Version::$name,
+ 'IPF_VER' => IPF::version(),
'ADMIN_MEDIA_URL' => IPF::get('static_url') . 'admin/',
);
}
public function run()
{
- print "IPF command line tool. Version: ".IPF_Version::$name."\n";
+ print "IPF command line tool. Version: ".IPF::version()."\n";
print "Project config: ".IPF::get('settings_file')."\n\n";
$args = $this->getArgs();
+++ /dev/null
-<?php
-
-final class IPF_Version{
- static $name = '0.4 beta';
-}
\ No newline at end of file