From 77ff2fb7ea28462a6d413c061b78e846500ee0a5 Mon Sep 17 00:00:00 2001 From: myaaghubi Date: Fri, 7 Feb 2025 14:48:34 +0330 Subject: [PATCH] Delete ubiquity --- config | 1 - ubiquity-2.4.x.dev/_benchmark/clean.sh | 4 --- ubiquity-2.4.x.dev/_benchmark/clear-cache.sh | 3 --- ubiquity-2.4.x.dev/_benchmark/hello_world.sh | 2 -- ubiquity-2.4.x.dev/_benchmark/setup.sh | 12 --------- .../_benchmark/ubiquity/app/config/config.php | 27 ------------------- .../app/controllers/HelloController.php | 12 --------- .../_benchmark/ubiquity/public/index.php | 13 --------- ubiquity-2.4.x.dev/_benchmark/update.sh | 9 ------- 9 files changed, 83 deletions(-) delete mode 100755 ubiquity-2.4.x.dev/_benchmark/clean.sh delete mode 100755 ubiquity-2.4.x.dev/_benchmark/clear-cache.sh delete mode 100755 ubiquity-2.4.x.dev/_benchmark/hello_world.sh delete mode 100755 ubiquity-2.4.x.dev/_benchmark/setup.sh delete mode 100644 ubiquity-2.4.x.dev/_benchmark/ubiquity/app/config/config.php delete mode 100644 ubiquity-2.4.x.dev/_benchmark/ubiquity/app/controllers/HelloController.php delete mode 100644 ubiquity-2.4.x.dev/_benchmark/ubiquity/public/index.php delete mode 100755 ubiquity-2.4.x.dev/_benchmark/update.sh diff --git a/config b/config index 3fddb0f..de21951 100644 --- a/config +++ b/config @@ -34,6 +34,5 @@ slim-4.14 symfony-5.4 symfony-6.4 symfony-7.0 -ubiquity-2.4.x.dev yii-2.0-basic " diff --git a/ubiquity-2.4.x.dev/_benchmark/clean.sh b/ubiquity-2.4.x.dev/_benchmark/clean.sh deleted file mode 100755 index 36d8cb0..0000000 --- a/ubiquity-2.4.x.dev/_benchmark/clean.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -rm -rf !("_benchmark") -find -path './.*' -delete -rm -rf _benchmark/temp \ No newline at end of file diff --git a/ubiquity-2.4.x.dev/_benchmark/clear-cache.sh b/ubiquity-2.4.x.dev/_benchmark/clear-cache.sh deleted file mode 100755 index e629bde..0000000 --- a/ubiquity-2.4.x.dev/_benchmark/clear-cache.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh -# clear cache -echo -e "!" \ No newline at end of file diff --git a/ubiquity-2.4.x.dev/_benchmark/hello_world.sh b/ubiquity-2.4.x.dev/_benchmark/hello_world.sh deleted file mode 100755 index 2355c1a..0000000 --- a/ubiquity-2.4.x.dev/_benchmark/hello_world.sh +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -url="$base/$fw/public/index.php?c=HelloController/index" \ No newline at end of file diff --git a/ubiquity-2.4.x.dev/_benchmark/setup.sh b/ubiquity-2.4.x.dev/_benchmark/setup.sh deleted file mode 100755 index 186b945..0000000 --- a/ubiquity-2.4.x.dev/_benchmark/setup.sh +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/sh -# create project -rm -rf _benchmark/temp -composer create-project phpmv/ubiquity-project:2.4.x-dev ./_benchmark/temp --ansi -mv ./_benchmark/temp/{.,}* ./ - -# have the route & controller -yes|cp -rf _benchmark/ubiquity/. ./ - -# some enhancements -composer install --no-dev --optimize-autoloader --ansi -rm ./public/.htaccess \ No newline at end of file diff --git a/ubiquity-2.4.x.dev/_benchmark/ubiquity/app/config/config.php b/ubiquity-2.4.x.dev/_benchmark/ubiquity/app/config/config.php deleted file mode 100644 index 73c3986..0000000 --- a/ubiquity-2.4.x.dev/_benchmark/ubiquity/app/config/config.php +++ /dev/null @@ -1,27 +0,0 @@ -"http://127.0.0.1/temp/public/", - "database"=>[ - "type"=>"mysql", - "dbName"=>"", - "serverName"=>"127.0.0.1", - "port"=>"3306", - "user"=>"root", - "password"=>"", - "options"=>[], - "cache"=>false - ], - "sessionName"=>"temp", - "namespaces"=>[], - //"templateEngine"=>'Ubiquity\\views\\engine\\Twig', - "templateEngineOptions"=>array("cache"=>true), - "test"=>false, - "debug"=>false, - "logger"=>function(){return new \Ubiquity\log\libraries\UMonolog("temp",\Monolog\Logger::INFO);}, - "di"=>["@exec"=>["jquery"=>function($controller){ - /* *** PHP-Frameworks-Bench *** */ - // return \Ajax\php\ubiquity\JsUtils::diSemantic($controller); - }]], - "cache"=>["directory"=>"cache/","system"=>"Ubiquity\\cache\\system\\ArrayCache","params"=>[]], - "mvcNS"=>["models"=>"models","controllers"=>"controllers","rest"=>""] -); diff --git a/ubiquity-2.4.x.dev/_benchmark/ubiquity/app/controllers/HelloController.php b/ubiquity-2.4.x.dev/_benchmark/ubiquity/app/controllers/HelloController.php deleted file mode 100644 index 54e9dd7..0000000 --- a/ubiquity-2.4.x.dev/_benchmark/ubiquity/app/controllers/HelloController.php +++ /dev/null @@ -1,12 +0,0 @@ -