Global Variable and Constant

Like the other framework, Seme Framework has several global variable and Constant that you can use for your web app.

SENEROOT

This global variable returned full path of your framework directory. Example:

  • If you put working directory on D:/xampp/htdocs/seme_framework
    so the SENEROOT will returned path
    D:/xampp/htdocs/seme_framework.
  • If you put working directory on /opt/lampp/htdocs/example_store
    so the SENEROOT will returned path
    /opt/lampp/htdocs/example_store.

SENECACHE

This global variable returned full path of your framework cache directory. Example:

  • If you put working directory on D:/xampp/htdocs/seme_framework
    so the SENECACHE will returned path will be
    D:/xampp/htdocs/seme_framework/app/cache.
  • If you put working directory on /opt/lampp/htdocs/example_store
    so the SENECACHE will returned path
    /opt/lampp/htdocs/example_store/app/cache.