diff --git a/Makefile b/Makefile index 0add78ded1..59c442f1ed 100644 --- a/Makefile +++ b/Makefile @@ -137,7 +137,7 @@ package: for module in `ls zentaopms/module/`; do if [ ! -d "zentaopms/module/$$module/ext" ]; then mkdir zentaopms/module/$$module/ext; fi done find zentaopms/ -name ext |xargs chmod -R 777 mkdir zentaopms/tools; cp tools/cn2tw.php zentaopms/tools; cd zentaopms/tools; php cn2tw.php - rm -r zentaopms/module/misc/ext + #rm -r zentaopms/module/misc/ext rm -rf zentaopms/tools pms: make common diff --git a/module/misc/ext/config/config1.php b/module/misc/ext/config/config1.php deleted file mode 100644 index f96b90bc33..0000000000 --- a/module/misc/ext/config/config1.php +++ /dev/null @@ -1,2 +0,0 @@ -misc->key1 = 'value1'; diff --git a/module/misc/ext/config/config2.php b/module/misc/ext/config/config2.php deleted file mode 100644 index d8e580d506..0000000000 --- a/module/misc/ext/config/config2.php +++ /dev/null @@ -1,2 +0,0 @@ -misc->key2 = 'value2'; diff --git a/module/misc/ext/control/getsid.php b/module/misc/ext/control/getsid.php deleted file mode 100644 index 6440048963..0000000000 --- a/module/misc/ext/control/getsid.php +++ /dev/null @@ -1,13 +0,0 @@ -view->header->title = 'getsid'; - $this->view->sid = session_id(); - $this->view->test = $this->misc->test(); - $this->display(); - } -} -?> diff --git a/module/misc/ext/lang/zh-cn1.php b/module/misc/ext/lang/zh-cn1.php deleted file mode 100755 index bb96085b35..0000000000 --- a/module/misc/ext/lang/zh-cn1.php +++ /dev/null @@ -1,2 +0,0 @@ -misc->item1 = 'item1'; diff --git a/module/misc/ext/lang/zh-cn2.php b/module/misc/ext/lang/zh-cn2.php deleted file mode 100755 index 61c2dfc2d7..0000000000 --- a/module/misc/ext/lang/zh-cn2.php +++ /dev/null @@ -1,2 +0,0 @@ -misc->item2 = 'item2'; diff --git a/module/misc/ext/model/class/test.class.php b/module/misc/ext/model/class/test.class.php deleted file mode 100644 index ecbf5aed42..0000000000 --- a/module/misc/ext/model/class/test.class.php +++ /dev/null @@ -1,8 +0,0 @@ -"; - } -} diff --git a/module/misc/ext/model/ext.php b/module/misc/ext/model/ext.php deleted file mode 100644 index aa2f873704..0000000000 --- a/module/misc/ext/model/ext.php +++ /dev/null @@ -1,6 +0,0 @@ -loadExtension('test')->hello(); // Load testMisc class from test.class.php in ext/model/class. - return $this->testMisc->hello(); // After loading, can use $this->testMisc to call it. -} diff --git a/module/misc/ext/model/foo.php b/module/misc/ext/model/foo.php deleted file mode 100644 index 57683477bb..0000000000 --- a/module/misc/ext/model/foo.php +++ /dev/null @@ -1,4 +0,0 @@ -public function foo() -{ - return 'foo'; -} diff --git a/module/misc/ext/model/hook/hello.test.php b/module/misc/ext/model/hook/hello.test.php deleted file mode 100644 index 0fa90b6223..0000000000 --- a/module/misc/ext/model/hook/hello.test.php +++ /dev/null @@ -1,2 +0,0 @@ -"; diff --git a/module/misc/ext/model/hook/hello.test2.php b/module/misc/ext/model/hook/hello.test2.php deleted file mode 100644 index d8ec452f50..0000000000 --- a/module/misc/ext/model/hook/hello.test2.php +++ /dev/null @@ -1,2 +0,0 @@ -'; diff --git a/module/misc/ext/model/hook/hello2.start.php b/module/misc/ext/model/hook/hello2.start.php deleted file mode 100644 index 1d1ecce293..0000000000 --- a/module/misc/ext/model/hook/hello2.start.php +++ /dev/null @@ -1,2 +0,0 @@ -'; diff --git a/module/misc/ext/view/getsid.color.html.hook.php b/module/misc/ext/view/getsid.color.html.hook.php deleted file mode 100644 index 95285b16e4..0000000000 --- a/module/misc/ext/view/getsid.color.html.hook.php +++ /dev/null @@ -1,5 +0,0 @@ - -
-output from the hook file. diff --git a/module/misc/ext/view/getsid.html.php b/module/misc/ext/view/getsid.html.php deleted file mode 100644 index 22552fc5f5..0000000000 --- a/module/misc/ext/view/getsid.html.php +++ /dev/null @@ -1,4 +0,0 @@ -
-output from the ext view file:
-ext config:misc);?> -ext lang:misc);?>