Removing a lot of old system variables from BSApp
[isso.git] / App.php
diff --git a/App.php b/App.php
index 5869303709dc6168841456ee0eaa8860307d5ba3..f11756640c49d90b711e78fa949395ef40b32337 100644 (file)
--- a/App.php
+++ b/App.php
@@ -74,30 +74,6 @@ class BSApp
        */
        private static $instance;
        
-       /**
-       * Application name
-       * @var  string
-       */
-       private $application = 'Unknown ISSO Project';
-       
-       /**
-       * Application path
-       * @var  string
-       */
-       private $appPath;
-       
-       /**
-       * Application version
-       * @var  string
-       */
-       private $appVersion;
-       
-       /**
-       * Web path
-       * @var  string
-       */
-       private $webPath;
-       
        /**
        * Debug mode?
        * @var  bool
@@ -142,95 +118,6 @@ class BSApp
                return self::$instance;
        }
        
-       // ###################################################################
-       /**
-       * Sets the application name
-       *
-       * @param        string  Application name
-       */
-       public static function set_application($name)
-       {
-               self::_instance()->application = $name;
-       }
-       
-       // ###################################################################
-       /**
-       * Gets the application name
-       *
-       * @return       string  Application name
-       */
-       public static function get_application()
-       {
-               return self::_instance()->application;
-       }
-       
-       // ###################################################################
-       /**
-       * Sets the application's working path
-       *
-       * @param        string  Path
-       */
-       public static function set_app_path($path)
-       {
-               self::_instance()->appPath = BSFunctions::fetch_source_path($path);
-       }
-       
-       // ###################################################################
-       /**
-       * Returns the path to the application
-       *
-       * @return       string  Application path
-       */
-       public static function get_app_path()
-       {
-               return self::_instance()->appPath;
-       }
-       
-       // ###################################################################
-       /**
-       * Sets the application version
-       *
-       * @param        string  Application version
-       */
-       public static function set_app_version($vers)
-       {
-               self::_instance()->appVersion = $vers;
-       }
-       
-       // ###################################################################
-       /**
-       * Gets the application version
-       *
-       * @return       string  Application version
-       */
-       public static function get_app_version()
-       {
-               return self::_instance()->appVersion;
-       }
-       
-       // ###################################################################
-       /**
-       * Sets the application's web path, which is the full path from the
-       * server's web root
-       *
-       * @param        string  Path
-       */
-       public static function set_web_path($path)
-       {
-               self::_instance()->webPath = BSFunctions::fetch_source_path($path);
-       }
-       
-       // ###################################################################
-       /**
-       * Returns the web path to the application
-       *
-       * @return       string  Application's web path
-       */
-       public static function get_web_path()
-       {
-               return self::_instance()->webPath;
-       }
-       
        // ###################################################################
        /**
        * Sets the debug state