Application.php 691 B

1234567891011121314151617181920212223242526
  1. <?php
  2. /**
  3. * Constants file.
  4. *
  5. * Provides some predefined values.
  6. *
  7. * @author Iñigo Valentin <i@inigovalentin.com>
  8. * @license https://www.gnu.org/licenses/gpl-3.0.en.html GNU General Public License V3
  9. * @package IV
  10. */
  11. class URL{
  12. //static $BASE = Net.get_protocol() . $_SERVER["HTTP_HOST"];
  13. //static $STATIC = Net.get_protocol() . $_SERVER["HTTP_HOST"];
  14. //static $BASE = ((1 == 1) ? 1 : 0);
  15. //static $BASE = $_SERVER["HTTP_HOST"];
  16. }
  17. final class EXCEPTION_CODE{
  18. const PDO_UNSUPPORTED = 800001;
  19. const PDO_MYSQL_HOSTNAME = 807701;
  20. const PDO_MYSQL_DBNAME = 807702;
  21. const PDO_MYSQL_PORT = 807703;
  22. }
  23. ?>