From d7f3313ff4514e38c9f53439cd1a1287e56e45f7 Mon Sep 17 00:00:00 2001 From: vincent-peugnet Date: Sun, 11 Nov 2018 17:19:26 +0100 Subject: reboot folder --- app/class/application.php | 90 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 90 insertions(+) create mode 100644 app/class/application.php (limited to 'app/class/application.php') diff --git a/app/class/application.php b/app/class/application.php new file mode 100644 index 0000000..2872695 --- /dev/null +++ b/app/class/application.php @@ -0,0 +1,90 @@ +'; + if(!Config::checkcmspath()) { + echo '
  • Wrong path
  • '; + } + if(empty(Config::admin())) { + echo '
  • Wrong admin password
  • '; + } + if(empty(Config::arttable())) { + echo '
  • Unset table name
  • '; + } + echo ''; + $this->configform(); + exit; + } + } else { + echo 'Missing config file'; + $this->configform(); + exit; + } + } + } + + public function configform() + { + ?> +

    Configuration

    +
    +
    +

    + +

    + +

    Leave it empty if W-CMS is in your root folder, otherwise, indicate the subfolder(s) in witch you installed the CMS

    +
    +
    +
    +

    + +

    + +

    The main password for administration, you can change it later.

    +
    +

    + +

    + +

    Set the name of the first folder that is going to store all your work

    +
    + +
    + + \ No newline at end of file -- cgit v1.2.3