Eine Konsolenanwendung verwendet normalerweise eine andere Konfigurationsdatei als die Webanwendung.
Wenn eine Applikation mit dem Befehl yiic webapp erstellt wurde, liegt die Konfigurationsdatei für die Konsolenanwendung in protected/yiic in protected/config/console.php, die der Webanwendung in protected/config/main.php.
www.yiiframework.comA console application usually uses a configuration file that is different from the one used by a Web application.
If an application is created using yiic webapp command, then the configuration file for the console application protected/yiic is protected/config/console.php, while the configuration file for the Web application is protected/config/main.php.
www.yiiframework.comTThread.CurrentThread ist in Delphi 2007 noch nicht vorhanden, Windows.GetCurrentThreadId wird stattdessen verwendet
Callback Wrappers sind jetzt protected statt private
Download:
www.tinkerunity.orgTThread.CurrentThread is not supported in Delphi 2007 use Windows.GetCurrentThreadId instead
Move callback wrappers from private to protected
Download:
www.tinkerunity.orgUnten zeigen wir an einem Beispiel, wie man die Zend_Search_Lucene-Komponente aus dem Zend-Framework in einer Yii-Anwendung verwendet.
Zunächst werden die Dateien des Zend-Frameworks in ein Verzeichnis unterhalb von protected/vendors entpackt, wobei protected für das Anwendungsverzeichnis steht.
Überprüfen Sie, dass die Datei protected/vendors/Zend/Sear... vorhanden ist.
www.yiiframework.comBelow we use an example to illustrate how to use the Zend_Search_Lucene component from the Zend framework in a Yii application.
First, we extract the Zend framework release file to a directory under protected/vendors, assuming protected is the application base directory.
Verify that the file protected/vendors/Zend/Sear... exists.
www.yiiframework.comWould you like to add some words, phrases or translations?
Submit a new entry.