diff --git a/.gitignore b/.gitignore old mode 100644 new mode 100755 index 7e5cd5f..95a6a8b --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ build -cache +source lite patch/config.php diff --git a/LICENSE b/LICENSE old mode 100644 new mode 100755 diff --git a/README b/README old mode 100644 new mode 100755 diff --git a/build.sh b/build.sh index ccdb282..04ed080 100755 --- a/build.sh +++ b/build.sh @@ -1,11 +1,11 @@ #!/bin/bash rm -rf build; -if [[ -d cache ]]; then - cp -r cache build; +if [[ -d source ]]; then + cp -r source build; else git clone https://git.calitabby.com/crispage/crispage.git build; - cp -r build cache; + cp -r build source; fi; while IFS= read -r line; do diff --git a/delete.list b/delete.list old mode 100644 new mode 100755 diff --git a/patch/core/app/assets/Asset.php b/patch/core/app/assets/Asset.php old mode 100644 new mode 100755 diff --git a/patch/core/app/assets/AssetManager.php b/patch/core/app/assets/AssetManager.php old mode 100644 new mode 100755 diff --git a/patch/core/app/assets/class/Module.php b/patch/core/app/assets/class/Module.php old mode 100644 new mode 100755 diff --git a/patch/core/app/assets/class/Plugin.php b/patch/core/app/assets/class/Plugin.php old mode 100644 new mode 100755 diff --git a/patch/core/app/assets/class/Role.php b/patch/core/app/assets/class/Role.php old mode 100644 new mode 100755 diff --git a/patch/core/app/assets/class/User.php b/patch/core/app/assets/class/User.php old mode 100644 new mode 100755 diff --git a/patch/core/app/extensions/CoreExtensions.php b/patch/core/app/extensions/CoreExtensions.php old mode 100644 new mode 100755 diff --git a/patch/core/templates/default/layouts/api.php b/patch/core/templates/default/layouts/api.php old mode 100644 new mode 100755 diff --git a/patch/core/templates/default/layouts/default.php b/patch/core/templates/default/layouts/default.php old mode 100644 new mode 100755 index 07da623..a35d0a4 --- a/patch/core/templates/default/layouts/default.php +++ b/patch/core/templates/default/layouts/default.php @@ -31,6 +31,8 @@ ); $this->app->page->renderComponent($com_msgs); $this->app->page->renderMainComponent(); + + echo "
v" . VERSION . "
"; ?>